diff --git a/patches/0004-Update-provider-version-in-deprecation-notices.patch b/patches/0004-Update-provider-version-in-deprecation-notices.patch index 3598081b48..645e1ab0b7 100644 --- a/patches/0004-Update-provider-version-in-deprecation-notices.patch +++ b/patches/0004-Update-provider-version-in-deprecation-notices.patch @@ -84,7 +84,7 @@ index 957314cfe5..9a5f9adac7 100644 ~> **NOTE:** Source Control Tokens are configured at the subscription level, not on each App Service - as such this can only be configured Subscription-wide diff --git a/website/docs/r/function_app.html.markdown b/website/docs/r/function_app.html.markdown -index e52e87003b..d4c341247a 100644 +index f3d01cdd15..ee0131e664 100644 --- a/website/docs/r/function_app.html.markdown +++ b/website/docs/r/function_app.html.markdown @@ -11,7 +11,7 @@ description: |- diff --git a/patches/0009-Remove-vm-platform_fault_domain-required_with.patch b/patches/0009-Remove-vm-platform_fault_domain-required_with.patch index 9d6aaa4c89..285194e22d 100644 --- a/patches/0009-Remove-vm-platform_fault_domain-required_with.patch +++ b/patches/0009-Remove-vm-platform_fault_domain-required_with.patch @@ -18,7 +18,7 @@ index 3c4cde6ea2..433b20b500 100644 }, diff --git a/internal/services/compute/windows_virtual_machine_resource.go b/internal/services/compute/windows_virtual_machine_resource.go -index 0226497579..94cf07503c 100644 +index ff56d4122e..99e677060b 100644 --- a/internal/services/compute/windows_virtual_machine_resource.go +++ b/internal/services/compute/windows_virtual_machine_resource.go @@ -386,7 +386,6 @@ func resourceWindowsVirtualMachine() *pluginsdk.Resource { diff --git a/patches/0010-Remove-function_app_schema-use_dotnet_isolated_runti.patch b/patches/0010-Remove-function_app_schema-use_dotnet_isolated_runti.patch index ed406b4d7c..1a6653a2fd 100644 --- a/patches/0010-Remove-function_app_schema-use_dotnet_isolated_runti.patch +++ b/patches/0010-Remove-function_app_schema-use_dotnet_isolated_runti.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Remove function_app_schema use_dotnet_isolated_runtime diff --git a/internal/services/appservice/helpers/function_app_schema.go b/internal/services/appservice/helpers/function_app_schema.go -index d0380954e9..fb9daddb26 100644 +index d427fb0398..85361052e4 100644 --- a/internal/services/appservice/helpers/function_app_schema.go +++ b/internal/services/appservice/helpers/function_app_schema.go @@ -1085,10 +1085,11 @@ func linuxFunctionAppStackSchema() *pluginsdk.Schema { diff --git a/patches/0013-Update-documentation.patch b/patches/0013-Update-documentation.patch index 7ede84e3e1..b442fbc6e4 100644 --- a/patches/0013-Update-documentation.patch +++ b/patches/0013-Update-documentation.patch @@ -293,7 +293,7 @@ index f997403600..b10ea52bc4 100644 * `bearer_token_sending_methods` - (Optional) How to send token to the server. A list of zero or more methods. Valid values are `authorizationHeader` and `query`. diff --git a/website/docs/r/api_management_api_diagnostic.html.markdown b/website/docs/r/api_management_api_diagnostic.html.markdown -index e4924a5439..ea46c447fa 100644 +index 5c171b3703..9c893da103 100644 --- a/website/docs/r/api_management_api_diagnostic.html.markdown +++ b/website/docs/r/api_management_api_diagnostic.html.markdown @@ -34,7 +34,7 @@ resource "azurerm_api_management" "example" { @@ -1465,7 +1465,7 @@ index 6b06ca628f..a2e544d3ef 100644 ```hcl diff --git a/website/docs/r/function_app.html.markdown b/website/docs/r/function_app.html.markdown -index d4c341247a..1af082b738 100644 +index ee0131e664..3a3c5fdbec 100644 --- a/website/docs/r/function_app.html.markdown +++ b/website/docs/r/function_app.html.markdown @@ -237,7 +237,7 @@ The following arguments are supported: @@ -1999,7 +1999,7 @@ index 8cd3a53f29..7349e0e1e2 100644 --> **NOTE:** This ID is unique to Terraform and doesn't directly match to any other resource. To compose this ID, you can take the ID Logic App Workflow and append `/triggers/{name of the trigger}`. +-> **NOTE:** This ID is unique to this provider and doesn't directly match to any other resource. To compose this ID, you can take the ID Logic App Workflow and append `/triggers/{name of the trigger}`. diff --git a/website/docs/r/managed_disk.html.markdown b/website/docs/r/managed_disk.html.markdown -index 5581db562f..59d329aa24 100644 +index 762ffaf535..87ae15cdb8 100644 --- a/website/docs/r/managed_disk.html.markdown +++ b/website/docs/r/managed_disk.html.markdown @@ -82,7 +82,14 @@ The following arguments are supported: @@ -2051,7 +2051,7 @@ index 6ce94c3f96..96a0bc66c1 100644 --> **NOTE:** This is a Terraform specific Resource ID which uses the format `{resourceId}|{diagnosticSettingName}` +-> **NOTE:** This is an ID specific to this resource provider which uses the format `{resourceId}|{diagnosticSettingName}` diff --git a/website/docs/r/mssql_server.html.markdown b/website/docs/r/mssql_server.html.markdown -index 90b738703a..e3a0c821ce 100644 +index 1fcfad3a05..ce6ab37003 100644 --- a/website/docs/r/mssql_server.html.markdown +++ b/website/docs/r/mssql_server.html.markdown @@ -11,9 +11,6 @@ description: |- diff --git a/provider/cmd/pulumi-resource-azure/bridge-metadata.json b/provider/cmd/pulumi-resource-azure/bridge-metadata.json index bffeea3934..410a099037 100644 --- a/provider/cmd/pulumi-resource-azure/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-azure/bridge-metadata.json @@ -3664,6 +3664,10 @@ "current": "azure:cognitive/accountCustomerManagedKey:AccountCustomerManagedKey", "majorVersion": 6 }, + "azurerm_cognitive_account_rai_blocklist": { + "current": "azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", + "majorVersion": 6 + }, "azurerm_cognitive_deployment": { "current": "azure:cognitive/deployment:Deployment", "majorVersion": 6, @@ -7688,6 +7692,18 @@ } } }, + "azurerm_fabric_capacity": { + "current": "azure:fabric/capacity:Capacity", + "majorVersion": 6, + "fields": { + "administration_members": { + "maxItemsOne": false + }, + "sku": { + "maxItemsOne": true + } + } + }, "azurerm_federated_identity_credential": { "current": "azure:armmsi/federatedIdentityCredential:FederatedIdentityCredential", "majorVersion": 6, diff --git a/provider/cmd/pulumi-resource-azure/schema.json b/provider/cmd/pulumi-resource-azure/schema.json index b93fdfd01d..f1f3a30fa4 100644 --- a/provider/cmd/pulumi-resource-azure/schema.json +++ b/provider/cmd/pulumi-resource-azure/schema.json @@ -77,6 +77,7 @@ "eventhub": "EventHub", "expressroute": "ExpressRoute", "extendedlocation": "ExtendedLocation", + "fabric": "Fabric", "fluidrelay": "FluidRelay", "frontdoor": "FrontDoor", "graph": "Graph", @@ -6870,7 +6871,7 @@ }, "scmUseMainIpRestriction": { "type": "boolean", - "description": "IP security restrictions for scm to use main. Defaults to `false`. \n\n\u003e **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed.\n" + "description": "IP security restrictions for scm to use main. Defaults to `false`.\n\n\u003e **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed.\n" }, "use32BitWorkerProcess": { "type": "boolean", @@ -8738,7 +8739,7 @@ }, "javaVersion": { "type": "string", - "description": "The Version of Java to use. Supported versions include `8`, `11` \u0026 `17`.\n" + "description": "The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`.\n\n\u003e **NOTE:** The value `21` is currently in Preview for `java_version`.\n" }, "nodeVersion": { "type": "string", @@ -9958,7 +9959,7 @@ }, "minimumTlsVersion": { "type": "string", - "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`.\n" + "description": "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`.\n" }, "preWarmedInstanceCount": { "type": "integer", @@ -9989,7 +9990,7 @@ }, "scmMinimumTlsVersion": { "type": "string", - "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`.\n" + "description": "Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`.\n" }, "scmType": { "type": "string", @@ -11561,7 +11562,7 @@ }, "javaVersion": { "type": "string", - "description": "The Version of Java to use. Possible values include `8`, `11`, and `17`.\n\n\u003e **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`.\n\n\u003e **NOTE:** `java_server`, `java_server_version`, and `java_version` must all be specified if building a java app\n" + "description": "The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`.\n\n\u003e **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`.\n\n\u003e **NOTE:** `java_server`, `java_server_version`, and `java_version` must all be specified if building a java app\n" }, "nodeVersion": { "type": "string", @@ -15635,7 +15636,7 @@ }, "javaVersion": { "type": "string", - "description": "The Version of Java to use. Supported versions include `1.8`, `11` \u0026 `17` (In-Preview).\n" + "description": "The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview).\n" }, "nodeVersion": { "type": "string", @@ -16815,7 +16816,7 @@ }, "minimumTlsVersion": { "type": "string", - "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`.\n" + "description": "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`.\n" }, "preWarmedInstanceCount": { "type": "integer", @@ -16846,7 +16847,7 @@ }, "scmMinimumTlsVersion": { "type": "string", - "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`.\n" + "description": "Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`.\n" }, "scmType": { "type": "string", @@ -62753,6 +62754,23 @@ "value" ] }, + "azure:fabric/CapacitySku:CapacitySku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`.\n" + }, + "tier": { + "type": "string", + "description": "The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`.\n" + } + }, + "type": "object", + "required": [ + "name", + "tier" + ] + }, "azure:fluidrelay/ServerCustomerManagedKey:ServerCustomerManagedKey": { "properties": { "keyVaultKeyId": { @@ -71710,7 +71728,7 @@ }, "minTlsVersion": { "type": "string", - "description": "The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps.\n" + "description": "The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps.\n\n\u003e **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.\n" }, "preWarmedInstanceCount": { "type": "integer", @@ -71733,7 +71751,7 @@ }, "scmMinTlsVersion": { "type": "string", - "description": "Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`.\n" + "description": "Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`.\n\n\u003e **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.\n" }, "scmType": { "type": "string", @@ -90232,6 +90250,7 @@ "content": { "type": "string", "description": "The base-64 encoded contents of this configuration file.\n", + "deprecationMessage": "the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider.", "secret": true }, "virtualPath": { @@ -104895,7 +104914,7 @@ } }, "azure:apimanagement/apiDiagnostic:ApiDiagnostic": { - "description": "Manages a API Management Service API Diagnostics Logs.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleInsights = new azure.appinsights.Insights(\"example\", {\n name: \"example-appinsights\",\n location: example.location,\n resourceGroupName: example.name,\n applicationType: \"web\",\n});\nconst exampleService = new azure.apimanagement.Service(\"example\", {\n name: \"example-apim\",\n location: example.location,\n resourceGroupName: example.name,\n publisherName: \"My Company\",\n publisherEmail: \"company@mycompany.io\",\n skuName: \"Developer_1\",\n});\nconst exampleApi = new azure.apimanagement.Api(\"example\", {\n name: \"example-api\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n revision: \"1\",\n displayName: \"Example API\",\n path: \"example\",\n protocols: [\"https\"],\n \"import\": {\n contentFormat: \"swagger-link-json\",\n contentValue: \"http://conferenceapi.azurewebsites.net/?format=json\",\n },\n});\nconst exampleLogger = new azure.apimanagement.Logger(\"example\", {\n name: \"example-apimlogger\",\n apiManagementName: exampleService.name,\n resourceGroupName: example.name,\n applicationInsights: {\n instrumentationKey: exampleInsights.instrumentationKey,\n },\n});\nconst exampleApiDiagnostic = new azure.apimanagement.ApiDiagnostic(\"example\", {\n identifier: \"applicationinsights\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n apiName: exampleApi.name,\n apiManagementLoggerId: exampleLogger.id,\n samplingPercentage: 5,\n alwaysLogErrors: true,\n logClientIp: true,\n verbosity: \"verbose\",\n httpCorrelationProtocol: \"W3C\",\n frontendRequest: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n frontendResponse: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n backendRequest: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n backendResponse: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_insights = azure.appinsights.Insights(\"example\",\n name=\"example-appinsights\",\n location=example.location,\n resource_group_name=example.name,\n application_type=\"web\")\nexample_service = azure.apimanagement.Service(\"example\",\n name=\"example-apim\",\n location=example.location,\n resource_group_name=example.name,\n publisher_name=\"My Company\",\n publisher_email=\"company@mycompany.io\",\n sku_name=\"Developer_1\")\nexample_api = azure.apimanagement.Api(\"example\",\n name=\"example-api\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n revision=\"1\",\n display_name=\"Example API\",\n path=\"example\",\n protocols=[\"https\"],\n import_={\n \"content_format\": \"swagger-link-json\",\n \"content_value\": \"http://conferenceapi.azurewebsites.net/?format=json\",\n })\nexample_logger = azure.apimanagement.Logger(\"example\",\n name=\"example-apimlogger\",\n api_management_name=example_service.name,\n resource_group_name=example.name,\n application_insights={\n \"instrumentation_key\": example_insights.instrumentation_key,\n })\nexample_api_diagnostic = azure.apimanagement.ApiDiagnostic(\"example\",\n identifier=\"applicationinsights\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n api_name=example_api.name,\n api_management_logger_id=example_logger.id,\n sampling_percentage=5,\n always_log_errors=True,\n log_client_ip=True,\n verbosity=\"verbose\",\n http_correlation_protocol=\"W3C\",\n frontend_request={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n frontend_response={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n backend_request={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n backend_response={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleInsights = new Azure.AppInsights.Insights(\"example\", new()\n {\n Name = \"example-appinsights\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n ApplicationType = \"web\",\n });\n\n var exampleService = new Azure.ApiManagement.Service(\"example\", new()\n {\n Name = \"example-apim\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n PublisherName = \"My Company\",\n PublisherEmail = \"company@mycompany.io\",\n SkuName = \"Developer_1\",\n });\n\n var exampleApi = new Azure.ApiManagement.Api(\"example\", new()\n {\n Name = \"example-api\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n Revision = \"1\",\n DisplayName = \"Example API\",\n Path = \"example\",\n Protocols = new[]\n {\n \"https\",\n },\n Import = new Azure.ApiManagement.Inputs.ApiImportArgs\n {\n ContentFormat = \"swagger-link-json\",\n ContentValue = \"http://conferenceapi.azurewebsites.net/?format=json\",\n },\n });\n\n var exampleLogger = new Azure.ApiManagement.Logger(\"example\", new()\n {\n Name = \"example-apimlogger\",\n ApiManagementName = exampleService.Name,\n ResourceGroupName = example.Name,\n ApplicationInsights = new Azure.ApiManagement.Inputs.LoggerApplicationInsightsArgs\n {\n InstrumentationKey = exampleInsights.InstrumentationKey,\n },\n });\n\n var exampleApiDiagnostic = new Azure.ApiManagement.ApiDiagnostic(\"example\", new()\n {\n Identifier = \"applicationinsights\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n ApiName = exampleApi.Name,\n ApiManagementLoggerId = exampleLogger.Id,\n SamplingPercentage = 5,\n AlwaysLogErrors = true,\n LogClientIp = true,\n Verbosity = \"verbose\",\n HttpCorrelationProtocol = \"W3C\",\n FrontendRequest = new Azure.ApiManagement.Inputs.ApiDiagnosticFrontendRequestArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"accept\",\n \"origin\",\n },\n },\n FrontendResponse = new Azure.ApiManagement.Inputs.ApiDiagnosticFrontendResponseArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"content-length\",\n \"origin\",\n },\n },\n BackendRequest = new Azure.ApiManagement.Inputs.ApiDiagnosticBackendRequestArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"accept\",\n \"origin\",\n },\n },\n BackendResponse = new Azure.ApiManagement.Inputs.ApiDiagnosticBackendResponseArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"content-length\",\n \"origin\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/apimanagement\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appinsights\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleInsights, err := appinsights.NewInsights(ctx, \"example\", \u0026appinsights.InsightsArgs{\n\t\t\tName: pulumi.String(\"example-appinsights\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApplicationType: pulumi.String(\"web\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleService, err := apimanagement.NewService(ctx, \"example\", \u0026apimanagement.ServiceArgs{\n\t\t\tName: pulumi.String(\"example-apim\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tPublisherName: pulumi.String(\"My Company\"),\n\t\t\tPublisherEmail: pulumi.String(\"company@mycompany.io\"),\n\t\t\tSkuName: pulumi.String(\"Developer_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleApi, err := apimanagement.NewApi(ctx, \"example\", \u0026apimanagement.ApiArgs{\n\t\t\tName: pulumi.String(\"example-api\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tRevision: pulumi.String(\"1\"),\n\t\t\tDisplayName: pulumi.String(\"Example API\"),\n\t\t\tPath: pulumi.String(\"example\"),\n\t\t\tProtocols: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https\"),\n\t\t\t},\n\t\t\tImport: \u0026apimanagement.ApiImportArgs{\n\t\t\t\tContentFormat: pulumi.String(\"swagger-link-json\"),\n\t\t\t\tContentValue: pulumi.String(\"http://conferenceapi.azurewebsites.net/?format=json\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleLogger, err := apimanagement.NewLogger(ctx, \"example\", \u0026apimanagement.LoggerArgs{\n\t\t\tName: pulumi.String(\"example-apimlogger\"),\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApplicationInsights: \u0026apimanagement.LoggerApplicationInsightsArgs{\n\t\t\t\tInstrumentationKey: exampleInsights.InstrumentationKey,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apimanagement.NewApiDiagnostic(ctx, \"example\", \u0026apimanagement.ApiDiagnosticArgs{\n\t\t\tIdentifier: pulumi.String(\"applicationinsights\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tApiName: exampleApi.Name,\n\t\t\tApiManagementLoggerId: exampleLogger.ID(),\n\t\t\tSamplingPercentage: pulumi.Float64(5),\n\t\t\tAlwaysLogErrors: pulumi.Bool(true),\n\t\t\tLogClientIp: pulumi.Bool(true),\n\t\t\tVerbosity: pulumi.String(\"verbose\"),\n\t\t\tHttpCorrelationProtocol: pulumi.String(\"W3C\"),\n\t\t\tFrontendRequest: \u0026apimanagement.ApiDiagnosticFrontendRequestArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"accept\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendResponse: \u0026apimanagement.ApiDiagnosticFrontendResponseArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"content-length\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendRequest: \u0026apimanagement.ApiDiagnosticBackendRequestArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"accept\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendResponse: \u0026apimanagement.ApiDiagnosticBackendResponseArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"content-length\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appinsights.Insights;\nimport com.pulumi.azure.appinsights.InsightsArgs;\nimport com.pulumi.azure.apimanagement.Service;\nimport com.pulumi.azure.apimanagement.ServiceArgs;\nimport com.pulumi.azure.apimanagement.Api;\nimport com.pulumi.azure.apimanagement.ApiArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiImportArgs;\nimport com.pulumi.azure.apimanagement.Logger;\nimport com.pulumi.azure.apimanagement.LoggerArgs;\nimport com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs;\nimport com.pulumi.azure.apimanagement.ApiDiagnostic;\nimport com.pulumi.azure.apimanagement.ApiDiagnosticArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendRequestArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendResponseArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendRequestArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendResponseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleInsights = new Insights(\"exampleInsights\", InsightsArgs.builder()\n .name(\"example-appinsights\")\n .location(example.location())\n .resourceGroupName(example.name())\n .applicationType(\"web\")\n .build());\n\n var exampleService = new Service(\"exampleService\", ServiceArgs.builder()\n .name(\"example-apim\")\n .location(example.location())\n .resourceGroupName(example.name())\n .publisherName(\"My Company\")\n .publisherEmail(\"company@mycompany.io\")\n .skuName(\"Developer_1\")\n .build());\n\n var exampleApi = new Api(\"exampleApi\", ApiArgs.builder()\n .name(\"example-api\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .revision(\"1\")\n .displayName(\"Example API\")\n .path(\"example\")\n .protocols(\"https\")\n .import_(ApiImportArgs.builder()\n .contentFormat(\"swagger-link-json\")\n .contentValue(\"http://conferenceapi.azurewebsites.net/?format=json\")\n .build())\n .build());\n\n var exampleLogger = new Logger(\"exampleLogger\", LoggerArgs.builder()\n .name(\"example-apimlogger\")\n .apiManagementName(exampleService.name())\n .resourceGroupName(example.name())\n .applicationInsights(LoggerApplicationInsightsArgs.builder()\n .instrumentationKey(exampleInsights.instrumentationKey())\n .build())\n .build());\n\n var exampleApiDiagnostic = new ApiDiagnostic(\"exampleApiDiagnostic\", ApiDiagnosticArgs.builder()\n .identifier(\"applicationinsights\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .apiName(exampleApi.name())\n .apiManagementLoggerId(exampleLogger.id())\n .samplingPercentage(5)\n .alwaysLogErrors(true)\n .logClientIp(true)\n .verbosity(\"verbose\")\n .httpCorrelationProtocol(\"W3C\")\n .frontendRequest(ApiDiagnosticFrontendRequestArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"accept\",\n \"origin\")\n .build())\n .frontendResponse(ApiDiagnosticFrontendResponseArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"content-length\",\n \"origin\")\n .build())\n .backendRequest(ApiDiagnosticBackendRequestArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"accept\",\n \"origin\")\n .build())\n .backendResponse(ApiDiagnosticBackendResponseArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"content-length\",\n \"origin\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleInsights:\n type: azure:appinsights:Insights\n name: example\n properties:\n name: example-appinsights\n location: ${example.location}\n resourceGroupName: ${example.name}\n applicationType: web\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@mycompany.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: http://conferenceapi.azurewebsites.net/?format=json\n exampleLogger:\n type: azure:apimanagement:Logger\n name: example\n properties:\n name: example-apimlogger\n apiManagementName: ${exampleService.name}\n resourceGroupName: ${example.name}\n applicationInsights:\n instrumentationKey: ${exampleInsights.instrumentationKey}\n exampleApiDiagnostic:\n type: azure:apimanagement:ApiDiagnostic\n name: example\n properties:\n identifier: applicationinsights\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n apiName: ${exampleApi.name}\n apiManagementLoggerId: ${exampleLogger.id}\n samplingPercentage: 5\n alwaysLogErrors: true\n logClientIp: true\n verbosity: verbose\n httpCorrelationProtocol: W3C\n frontendRequest:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - accept\n - origin\n frontendResponse:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - content-length\n - origin\n backendRequest:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - accept\n - origin\n backendResponse:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - content-length\n - origin\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management Service API Diagnostics Logs can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1\n```\n\n", + "description": "Manages a API Management Service API Diagnostics Logs.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleInsights = new azure.appinsights.Insights(\"example\", {\n name: \"example-appinsights\",\n location: example.location,\n resourceGroupName: example.name,\n applicationType: \"web\",\n});\nconst exampleService = new azure.apimanagement.Service(\"example\", {\n name: \"example-apim\",\n location: example.location,\n resourceGroupName: example.name,\n publisherName: \"My Company\",\n publisherEmail: \"company@mycompany.io\",\n skuName: \"Developer_1\",\n});\nconst exampleApi = new azure.apimanagement.Api(\"example\", {\n name: \"example-api\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n revision: \"1\",\n displayName: \"Example API\",\n path: \"example\",\n protocols: [\"https\"],\n \"import\": {\n contentFormat: \"swagger-link-json\",\n contentValue: \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n },\n});\nconst exampleLogger = new azure.apimanagement.Logger(\"example\", {\n name: \"example-apimlogger\",\n apiManagementName: exampleService.name,\n resourceGroupName: example.name,\n applicationInsights: {\n instrumentationKey: exampleInsights.instrumentationKey,\n },\n});\nconst exampleApiDiagnostic = new azure.apimanagement.ApiDiagnostic(\"example\", {\n identifier: \"applicationinsights\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n apiName: exampleApi.name,\n apiManagementLoggerId: exampleLogger.id,\n samplingPercentage: 5,\n alwaysLogErrors: true,\n logClientIp: true,\n verbosity: \"verbose\",\n httpCorrelationProtocol: \"W3C\",\n frontendRequest: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n frontendResponse: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n backendRequest: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n backendResponse: {\n bodyBytes: 32,\n headersToLogs: [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_insights = azure.appinsights.Insights(\"example\",\n name=\"example-appinsights\",\n location=example.location,\n resource_group_name=example.name,\n application_type=\"web\")\nexample_service = azure.apimanagement.Service(\"example\",\n name=\"example-apim\",\n location=example.location,\n resource_group_name=example.name,\n publisher_name=\"My Company\",\n publisher_email=\"company@mycompany.io\",\n sku_name=\"Developer_1\")\nexample_api = azure.apimanagement.Api(\"example\",\n name=\"example-api\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n revision=\"1\",\n display_name=\"Example API\",\n path=\"example\",\n protocols=[\"https\"],\n import_={\n \"content_format\": \"swagger-link-json\",\n \"content_value\": \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n })\nexample_logger = azure.apimanagement.Logger(\"example\",\n name=\"example-apimlogger\",\n api_management_name=example_service.name,\n resource_group_name=example.name,\n application_insights={\n \"instrumentation_key\": example_insights.instrumentation_key,\n })\nexample_api_diagnostic = azure.apimanagement.ApiDiagnostic(\"example\",\n identifier=\"applicationinsights\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n api_name=example_api.name,\n api_management_logger_id=example_logger.id,\n sampling_percentage=5,\n always_log_errors=True,\n log_client_ip=True,\n verbosity=\"verbose\",\n http_correlation_protocol=\"W3C\",\n frontend_request={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n frontend_response={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n },\n backend_request={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"accept\",\n \"origin\",\n ],\n },\n backend_response={\n \"body_bytes\": 32,\n \"headers_to_logs\": [\n \"content-type\",\n \"content-length\",\n \"origin\",\n ],\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleInsights = new Azure.AppInsights.Insights(\"example\", new()\n {\n Name = \"example-appinsights\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n ApplicationType = \"web\",\n });\n\n var exampleService = new Azure.ApiManagement.Service(\"example\", new()\n {\n Name = \"example-apim\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n PublisherName = \"My Company\",\n PublisherEmail = \"company@mycompany.io\",\n SkuName = \"Developer_1\",\n });\n\n var exampleApi = new Azure.ApiManagement.Api(\"example\", new()\n {\n Name = \"example-api\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n Revision = \"1\",\n DisplayName = \"Example API\",\n Path = \"example\",\n Protocols = new[]\n {\n \"https\",\n },\n Import = new Azure.ApiManagement.Inputs.ApiImportArgs\n {\n ContentFormat = \"swagger-link-json\",\n ContentValue = \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n },\n });\n\n var exampleLogger = new Azure.ApiManagement.Logger(\"example\", new()\n {\n Name = \"example-apimlogger\",\n ApiManagementName = exampleService.Name,\n ResourceGroupName = example.Name,\n ApplicationInsights = new Azure.ApiManagement.Inputs.LoggerApplicationInsightsArgs\n {\n InstrumentationKey = exampleInsights.InstrumentationKey,\n },\n });\n\n var exampleApiDiagnostic = new Azure.ApiManagement.ApiDiagnostic(\"example\", new()\n {\n Identifier = \"applicationinsights\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n ApiName = exampleApi.Name,\n ApiManagementLoggerId = exampleLogger.Id,\n SamplingPercentage = 5,\n AlwaysLogErrors = true,\n LogClientIp = true,\n Verbosity = \"verbose\",\n HttpCorrelationProtocol = \"W3C\",\n FrontendRequest = new Azure.ApiManagement.Inputs.ApiDiagnosticFrontendRequestArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"accept\",\n \"origin\",\n },\n },\n FrontendResponse = new Azure.ApiManagement.Inputs.ApiDiagnosticFrontendResponseArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"content-length\",\n \"origin\",\n },\n },\n BackendRequest = new Azure.ApiManagement.Inputs.ApiDiagnosticBackendRequestArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"accept\",\n \"origin\",\n },\n },\n BackendResponse = new Azure.ApiManagement.Inputs.ApiDiagnosticBackendResponseArgs\n {\n BodyBytes = 32,\n HeadersToLogs = new[]\n {\n \"content-type\",\n \"content-length\",\n \"origin\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/apimanagement\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appinsights\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleInsights, err := appinsights.NewInsights(ctx, \"example\", \u0026appinsights.InsightsArgs{\n\t\t\tName: pulumi.String(\"example-appinsights\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApplicationType: pulumi.String(\"web\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleService, err := apimanagement.NewService(ctx, \"example\", \u0026apimanagement.ServiceArgs{\n\t\t\tName: pulumi.String(\"example-apim\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tPublisherName: pulumi.String(\"My Company\"),\n\t\t\tPublisherEmail: pulumi.String(\"company@mycompany.io\"),\n\t\t\tSkuName: pulumi.String(\"Developer_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleApi, err := apimanagement.NewApi(ctx, \"example\", \u0026apimanagement.ApiArgs{\n\t\t\tName: pulumi.String(\"example-api\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tRevision: pulumi.String(\"1\"),\n\t\t\tDisplayName: pulumi.String(\"Example API\"),\n\t\t\tPath: pulumi.String(\"example\"),\n\t\t\tProtocols: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https\"),\n\t\t\t},\n\t\t\tImport: \u0026apimanagement.ApiImportArgs{\n\t\t\t\tContentFormat: pulumi.String(\"swagger-link-json\"),\n\t\t\t\tContentValue: pulumi.String(\"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleLogger, err := apimanagement.NewLogger(ctx, \"example\", \u0026apimanagement.LoggerArgs{\n\t\t\tName: pulumi.String(\"example-apimlogger\"),\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApplicationInsights: \u0026apimanagement.LoggerApplicationInsightsArgs{\n\t\t\t\tInstrumentationKey: exampleInsights.InstrumentationKey,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apimanagement.NewApiDiagnostic(ctx, \"example\", \u0026apimanagement.ApiDiagnosticArgs{\n\t\t\tIdentifier: pulumi.String(\"applicationinsights\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tApiName: exampleApi.Name,\n\t\t\tApiManagementLoggerId: exampleLogger.ID(),\n\t\t\tSamplingPercentage: pulumi.Float64(5),\n\t\t\tAlwaysLogErrors: pulumi.Bool(true),\n\t\t\tLogClientIp: pulumi.Bool(true),\n\t\t\tVerbosity: pulumi.String(\"verbose\"),\n\t\t\tHttpCorrelationProtocol: pulumi.String(\"W3C\"),\n\t\t\tFrontendRequest: \u0026apimanagement.ApiDiagnosticFrontendRequestArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"accept\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendResponse: \u0026apimanagement.ApiDiagnosticFrontendResponseArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"content-length\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendRequest: \u0026apimanagement.ApiDiagnosticBackendRequestArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"accept\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendResponse: \u0026apimanagement.ApiDiagnosticBackendResponseArgs{\n\t\t\t\tBodyBytes: pulumi.Int(32),\n\t\t\t\tHeadersToLogs: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"content-type\"),\n\t\t\t\t\tpulumi.String(\"content-length\"),\n\t\t\t\t\tpulumi.String(\"origin\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appinsights.Insights;\nimport com.pulumi.azure.appinsights.InsightsArgs;\nimport com.pulumi.azure.apimanagement.Service;\nimport com.pulumi.azure.apimanagement.ServiceArgs;\nimport com.pulumi.azure.apimanagement.Api;\nimport com.pulumi.azure.apimanagement.ApiArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiImportArgs;\nimport com.pulumi.azure.apimanagement.Logger;\nimport com.pulumi.azure.apimanagement.LoggerArgs;\nimport com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs;\nimport com.pulumi.azure.apimanagement.ApiDiagnostic;\nimport com.pulumi.azure.apimanagement.ApiDiagnosticArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendRequestArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendResponseArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendRequestArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendResponseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleInsights = new Insights(\"exampleInsights\", InsightsArgs.builder()\n .name(\"example-appinsights\")\n .location(example.location())\n .resourceGroupName(example.name())\n .applicationType(\"web\")\n .build());\n\n var exampleService = new Service(\"exampleService\", ServiceArgs.builder()\n .name(\"example-apim\")\n .location(example.location())\n .resourceGroupName(example.name())\n .publisherName(\"My Company\")\n .publisherEmail(\"company@mycompany.io\")\n .skuName(\"Developer_1\")\n .build());\n\n var exampleApi = new Api(\"exampleApi\", ApiArgs.builder()\n .name(\"example-api\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .revision(\"1\")\n .displayName(\"Example API\")\n .path(\"example\")\n .protocols(\"https\")\n .import_(ApiImportArgs.builder()\n .contentFormat(\"swagger-link-json\")\n .contentValue(\"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\")\n .build())\n .build());\n\n var exampleLogger = new Logger(\"exampleLogger\", LoggerArgs.builder()\n .name(\"example-apimlogger\")\n .apiManagementName(exampleService.name())\n .resourceGroupName(example.name())\n .applicationInsights(LoggerApplicationInsightsArgs.builder()\n .instrumentationKey(exampleInsights.instrumentationKey())\n .build())\n .build());\n\n var exampleApiDiagnostic = new ApiDiagnostic(\"exampleApiDiagnostic\", ApiDiagnosticArgs.builder()\n .identifier(\"applicationinsights\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .apiName(exampleApi.name())\n .apiManagementLoggerId(exampleLogger.id())\n .samplingPercentage(5)\n .alwaysLogErrors(true)\n .logClientIp(true)\n .verbosity(\"verbose\")\n .httpCorrelationProtocol(\"W3C\")\n .frontendRequest(ApiDiagnosticFrontendRequestArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"accept\",\n \"origin\")\n .build())\n .frontendResponse(ApiDiagnosticFrontendResponseArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"content-length\",\n \"origin\")\n .build())\n .backendRequest(ApiDiagnosticBackendRequestArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"accept\",\n \"origin\")\n .build())\n .backendResponse(ApiDiagnosticBackendResponseArgs.builder()\n .bodyBytes(32)\n .headersToLogs( \n \"content-type\",\n \"content-length\",\n \"origin\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleInsights:\n type: azure:appinsights:Insights\n name: example\n properties:\n name: example-appinsights\n location: ${example.location}\n resourceGroupName: ${example.name}\n applicationType: web\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@mycompany.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\n exampleLogger:\n type: azure:apimanagement:Logger\n name: example\n properties:\n name: example-apimlogger\n apiManagementName: ${exampleService.name}\n resourceGroupName: ${example.name}\n applicationInsights:\n instrumentationKey: ${exampleInsights.instrumentationKey}\n exampleApiDiagnostic:\n type: azure:apimanagement:ApiDiagnostic\n name: example\n properties:\n identifier: applicationinsights\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n apiName: ${exampleApi.name}\n apiManagementLoggerId: ${exampleLogger.id}\n samplingPercentage: 5\n alwaysLogErrors: true\n logClientIp: true\n verbosity: verbose\n httpCorrelationProtocol: W3C\n frontendRequest:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - accept\n - origin\n frontendResponse:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - content-length\n - origin\n backendRequest:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - accept\n - origin\n backendResponse:\n bodyBytes: 32\n headersToLogs:\n - content-type\n - content-length\n - origin\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management Service API Diagnostics Logs can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiDiagnostic:ApiDiagnostic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/diagnostics/diagnostic1\n```\n\n", "properties": { "alwaysLogErrors": { "type": "boolean", @@ -105567,7 +105586,7 @@ } }, "azure:apimanagement/apiRelease:ApiRelease": { - "description": "Manages a API Management API Release.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleService = new azure.apimanagement.Service(\"example\", {\n name: \"example-apim\",\n location: example.location,\n resourceGroupName: example.name,\n publisherName: \"My Company\",\n publisherEmail: \"company@terraform.io\",\n skuName: \"Developer_1\",\n});\nconst exampleApi = new azure.apimanagement.Api(\"example\", {\n name: \"example-api\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n revision: \"1\",\n displayName: \"Example API\",\n path: \"example\",\n protocols: [\"https\"],\n \"import\": {\n contentFormat: \"swagger-link-json\",\n contentValue: \"http://conferenceapi.azurewebsites.net/?format=json\",\n },\n});\nconst exampleApiRelease = new azure.apimanagement.ApiRelease(\"example\", {\n name: \"example-Api-Release\",\n apiId: exampleApi.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_service = azure.apimanagement.Service(\"example\",\n name=\"example-apim\",\n location=example.location,\n resource_group_name=example.name,\n publisher_name=\"My Company\",\n publisher_email=\"company@terraform.io\",\n sku_name=\"Developer_1\")\nexample_api = azure.apimanagement.Api(\"example\",\n name=\"example-api\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n revision=\"1\",\n display_name=\"Example API\",\n path=\"example\",\n protocols=[\"https\"],\n import_={\n \"content_format\": \"swagger-link-json\",\n \"content_value\": \"http://conferenceapi.azurewebsites.net/?format=json\",\n })\nexample_api_release = azure.apimanagement.ApiRelease(\"example\",\n name=\"example-Api-Release\",\n api_id=example_api.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleService = new Azure.ApiManagement.Service(\"example\", new()\n {\n Name = \"example-apim\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n PublisherName = \"My Company\",\n PublisherEmail = \"company@terraform.io\",\n SkuName = \"Developer_1\",\n });\n\n var exampleApi = new Azure.ApiManagement.Api(\"example\", new()\n {\n Name = \"example-api\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n Revision = \"1\",\n DisplayName = \"Example API\",\n Path = \"example\",\n Protocols = new[]\n {\n \"https\",\n },\n Import = new Azure.ApiManagement.Inputs.ApiImportArgs\n {\n ContentFormat = \"swagger-link-json\",\n ContentValue = \"http://conferenceapi.azurewebsites.net/?format=json\",\n },\n });\n\n var exampleApiRelease = new Azure.ApiManagement.ApiRelease(\"example\", new()\n {\n Name = \"example-Api-Release\",\n ApiId = exampleApi.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/apimanagement\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleService, err := apimanagement.NewService(ctx, \"example\", \u0026apimanagement.ServiceArgs{\n\t\t\tName: pulumi.String(\"example-apim\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tPublisherName: pulumi.String(\"My Company\"),\n\t\t\tPublisherEmail: pulumi.String(\"company@terraform.io\"),\n\t\t\tSkuName: pulumi.String(\"Developer_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleApi, err := apimanagement.NewApi(ctx, \"example\", \u0026apimanagement.ApiArgs{\n\t\t\tName: pulumi.String(\"example-api\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tRevision: pulumi.String(\"1\"),\n\t\t\tDisplayName: pulumi.String(\"Example API\"),\n\t\t\tPath: pulumi.String(\"example\"),\n\t\t\tProtocols: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https\"),\n\t\t\t},\n\t\t\tImport: \u0026apimanagement.ApiImportArgs{\n\t\t\t\tContentFormat: pulumi.String(\"swagger-link-json\"),\n\t\t\t\tContentValue: pulumi.String(\"http://conferenceapi.azurewebsites.net/?format=json\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apimanagement.NewApiRelease(ctx, \"example\", \u0026apimanagement.ApiReleaseArgs{\n\t\t\tName: pulumi.String(\"example-Api-Release\"),\n\t\t\tApiId: exampleApi.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.apimanagement.Service;\nimport com.pulumi.azure.apimanagement.ServiceArgs;\nimport com.pulumi.azure.apimanagement.Api;\nimport com.pulumi.azure.apimanagement.ApiArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiImportArgs;\nimport com.pulumi.azure.apimanagement.ApiRelease;\nimport com.pulumi.azure.apimanagement.ApiReleaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleService = new Service(\"exampleService\", ServiceArgs.builder()\n .name(\"example-apim\")\n .location(example.location())\n .resourceGroupName(example.name())\n .publisherName(\"My Company\")\n .publisherEmail(\"company@terraform.io\")\n .skuName(\"Developer_1\")\n .build());\n\n var exampleApi = new Api(\"exampleApi\", ApiArgs.builder()\n .name(\"example-api\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .revision(\"1\")\n .displayName(\"Example API\")\n .path(\"example\")\n .protocols(\"https\")\n .import_(ApiImportArgs.builder()\n .contentFormat(\"swagger-link-json\")\n .contentValue(\"http://conferenceapi.azurewebsites.net/?format=json\")\n .build())\n .build());\n\n var exampleApiRelease = new ApiRelease(\"exampleApiRelease\", ApiReleaseArgs.builder()\n .name(\"example-Api-Release\")\n .apiId(exampleApi.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@terraform.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: http://conferenceapi.azurewebsites.net/?format=json\n exampleApiRelease:\n type: azure:apimanagement:ApiRelease\n name: example\n properties:\n name: example-Api-Release\n apiId: ${exampleApi.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API Releases can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiRelease:ApiRelease example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/service1/apis/api1/releases/release1\n```\n\n", + "description": "Manages a API Management API Release.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleService = new azure.apimanagement.Service(\"example\", {\n name: \"example-apim\",\n location: example.location,\n resourceGroupName: example.name,\n publisherName: \"My Company\",\n publisherEmail: \"company@terraform.io\",\n skuName: \"Developer_1\",\n});\nconst exampleApi = new azure.apimanagement.Api(\"example\", {\n name: \"example-api\",\n resourceGroupName: example.name,\n apiManagementName: exampleService.name,\n revision: \"1\",\n displayName: \"Example API\",\n path: \"example\",\n protocols: [\"https\"],\n \"import\": {\n contentFormat: \"swagger-link-json\",\n contentValue: \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n },\n});\nconst exampleApiRelease = new azure.apimanagement.ApiRelease(\"example\", {\n name: \"example-Api-Release\",\n apiId: exampleApi.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_service = azure.apimanagement.Service(\"example\",\n name=\"example-apim\",\n location=example.location,\n resource_group_name=example.name,\n publisher_name=\"My Company\",\n publisher_email=\"company@terraform.io\",\n sku_name=\"Developer_1\")\nexample_api = azure.apimanagement.Api(\"example\",\n name=\"example-api\",\n resource_group_name=example.name,\n api_management_name=example_service.name,\n revision=\"1\",\n display_name=\"Example API\",\n path=\"example\",\n protocols=[\"https\"],\n import_={\n \"content_format\": \"swagger-link-json\",\n \"content_value\": \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n })\nexample_api_release = azure.apimanagement.ApiRelease(\"example\",\n name=\"example-Api-Release\",\n api_id=example_api.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleService = new Azure.ApiManagement.Service(\"example\", new()\n {\n Name = \"example-apim\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n PublisherName = \"My Company\",\n PublisherEmail = \"company@terraform.io\",\n SkuName = \"Developer_1\",\n });\n\n var exampleApi = new Azure.ApiManagement.Api(\"example\", new()\n {\n Name = \"example-api\",\n ResourceGroupName = example.Name,\n ApiManagementName = exampleService.Name,\n Revision = \"1\",\n DisplayName = \"Example API\",\n Path = \"example\",\n Protocols = new[]\n {\n \"https\",\n },\n Import = new Azure.ApiManagement.Inputs.ApiImportArgs\n {\n ContentFormat = \"swagger-link-json\",\n ContentValue = \"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\",\n },\n });\n\n var exampleApiRelease = new Azure.ApiManagement.ApiRelease(\"example\", new()\n {\n Name = \"example-Api-Release\",\n ApiId = exampleApi.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/apimanagement\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleService, err := apimanagement.NewService(ctx, \"example\", \u0026apimanagement.ServiceArgs{\n\t\t\tName: pulumi.String(\"example-apim\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tPublisherName: pulumi.String(\"My Company\"),\n\t\t\tPublisherEmail: pulumi.String(\"company@terraform.io\"),\n\t\t\tSkuName: pulumi.String(\"Developer_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleApi, err := apimanagement.NewApi(ctx, \"example\", \u0026apimanagement.ApiArgs{\n\t\t\tName: pulumi.String(\"example-api\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tApiManagementName: exampleService.Name,\n\t\t\tRevision: pulumi.String(\"1\"),\n\t\t\tDisplayName: pulumi.String(\"Example API\"),\n\t\t\tPath: pulumi.String(\"example\"),\n\t\t\tProtocols: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https\"),\n\t\t\t},\n\t\t\tImport: \u0026apimanagement.ApiImportArgs{\n\t\t\t\tContentFormat: pulumi.String(\"swagger-link-json\"),\n\t\t\t\tContentValue: pulumi.String(\"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apimanagement.NewApiRelease(ctx, \"example\", \u0026apimanagement.ApiReleaseArgs{\n\t\t\tName: pulumi.String(\"example-Api-Release\"),\n\t\t\tApiId: exampleApi.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.apimanagement.Service;\nimport com.pulumi.azure.apimanagement.ServiceArgs;\nimport com.pulumi.azure.apimanagement.Api;\nimport com.pulumi.azure.apimanagement.ApiArgs;\nimport com.pulumi.azure.apimanagement.inputs.ApiImportArgs;\nimport com.pulumi.azure.apimanagement.ApiRelease;\nimport com.pulumi.azure.apimanagement.ApiReleaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleService = new Service(\"exampleService\", ServiceArgs.builder()\n .name(\"example-apim\")\n .location(example.location())\n .resourceGroupName(example.name())\n .publisherName(\"My Company\")\n .publisherEmail(\"company@terraform.io\")\n .skuName(\"Developer_1\")\n .build());\n\n var exampleApi = new Api(\"exampleApi\", ApiArgs.builder()\n .name(\"example-api\")\n .resourceGroupName(example.name())\n .apiManagementName(exampleService.name())\n .revision(\"1\")\n .displayName(\"Example API\")\n .path(\"example\")\n .protocols(\"https\")\n .import_(ApiImportArgs.builder()\n .contentFormat(\"swagger-link-json\")\n .contentValue(\"https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\")\n .build())\n .build());\n\n var exampleApiRelease = new ApiRelease(\"exampleApiRelease\", ApiReleaseArgs.builder()\n .name(\"example-Api-Release\")\n .apiId(exampleApi.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@terraform.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\n exampleApiRelease:\n type: azure:apimanagement:ApiRelease\n name: example\n properties:\n name: example-Api-Release\n apiId: ${exampleApi.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API Releases can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiRelease:ApiRelease example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/service1/apis/api1/releases/release1\n```\n\n", "properties": { "apiId": { "type": "string", @@ -105806,7 +105825,7 @@ } }, "azure:apimanagement/apiTagDescription:ApiTagDescription": { - "description": "Manages an API Tag Description within an API Management Service.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@terraform.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: http://conferenceapi.azurewebsites.net/?format=json\n exampleTag:\n type: azure:apimanagement:Tag\n name: example\n properties:\n apiManagementId: ${exampleService.id}\n name: example-Tag\n exampleApiTagDescription:\n type: azure:apimanagement:ApiTagDescription\n name: example\n properties:\n apiTagId: ${exampleTag.id}\n description: This is an example description\n externalDocsUrl: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs\n externalDocsDescription: This is an example external docs description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API Schema's can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiTagDescription:ApiTagDescription example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/tagDescriptions/tagDescriptionId1\n```\n\n", + "description": "Manages an API Tag Description within an API Management Service.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleService:\n type: azure:apimanagement:Service\n name: example\n properties:\n name: example-apim\n location: ${example.location}\n resourceGroupName: ${example.name}\n publisherName: My Company\n publisherEmail: company@terraform.io\n skuName: Developer_1\n exampleApi:\n type: azure:apimanagement:Api\n name: example\n properties:\n name: example-api\n resourceGroupName: ${example.name}\n apiManagementName: ${exampleService.name}\n revision: '1'\n displayName: Example API\n path: example\n protocols:\n - https\n import:\n contentFormat: swagger-link-json\n contentValue: https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json\n exampleTag:\n type: azure:apimanagement:Tag\n name: example\n properties:\n apiManagementId: ${exampleService.id}\n name: example-Tag\n exampleApiTagDescription:\n type: azure:apimanagement:ApiTagDescription\n name: example\n properties:\n apiTagId: ${exampleTag.id}\n description: This is an example description\n externalDocsUrl: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs\n externalDocsDescription: This is an example external docs description\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API Schema's can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/apiTagDescription:ApiTagDescription example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/tagDescriptions/tagDescriptionId1\n```\n\n", "properties": { "apiTagId": { "type": "string", @@ -130479,7 +130498,7 @@ } }, "azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration": { - "description": "Manages an Automation Software Update Configuraion.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"East US\",\n});\nconst exampleAccount = new azure.automation.Account(\"example\", {\n name: \"example\",\n location: example.location,\n resourceGroupName: example.name,\n skuName: \"Basic\",\n});\nconst exampleRunBook = new azure.automation.RunBook(\"example\", {\n name: \"Get-AzureVMTutorial\",\n location: example.location,\n resourceGroupName: example.name,\n automationAccountName: exampleAccount.name,\n logVerbose: true,\n logProgress: true,\n description: \"This is a example runbook for terraform acceptance example\",\n runbookType: \"Python3\",\n content: `# Some example content\n# for Terraform acceptance example\n`,\n tags: {\n ENV: \"runbook_test\",\n },\n});\nconst exampleSoftwareUpdateConfiguration = new azure.automation.SoftwareUpdateConfiguration(\"example\", {\n name: \"example\",\n automationAccountId: exampleAccount.id,\n linux: {\n classificationsIncludeds: \"Security\",\n excludedPackages: [\"apt\"],\n includedPackages: [\"vim\"],\n reboot: \"IfRequired\",\n },\n preTask: {\n source: exampleRunBook.name,\n parameters: {\n COMPUTER_NAME: \"Foo\",\n },\n },\n duration: \"PT2H2M2S\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"East US\")\nexample_account = azure.automation.Account(\"example\",\n name=\"example\",\n location=example.location,\n resource_group_name=example.name,\n sku_name=\"Basic\")\nexample_run_book = azure.automation.RunBook(\"example\",\n name=\"Get-AzureVMTutorial\",\n location=example.location,\n resource_group_name=example.name,\n automation_account_name=example_account.name,\n log_verbose=True,\n log_progress=True,\n description=\"This is a example runbook for terraform acceptance example\",\n runbook_type=\"Python3\",\n content=\"\"\"# Some example content\n# for Terraform acceptance example\n\"\"\",\n tags={\n \"ENV\": \"runbook_test\",\n })\nexample_software_update_configuration = azure.automation.SoftwareUpdateConfiguration(\"example\",\n name=\"example\",\n automation_account_id=example_account.id,\n linux={\n \"classifications_includeds\": \"Security\",\n \"excluded_packages\": [\"apt\"],\n \"included_packages\": [\"vim\"],\n \"reboot\": \"IfRequired\",\n },\n pre_task={\n \"source\": example_run_book.name,\n \"parameters\": {\n \"COMPUTER_NAME\": \"Foo\",\n },\n },\n duration=\"PT2H2M2S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"East US\",\n });\n\n var exampleAccount = new Azure.Automation.Account(\"example\", new()\n {\n Name = \"example\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n SkuName = \"Basic\",\n });\n\n var exampleRunBook = new Azure.Automation.RunBook(\"example\", new()\n {\n Name = \"Get-AzureVMTutorial\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AutomationAccountName = exampleAccount.Name,\n LogVerbose = true,\n LogProgress = true,\n Description = \"This is a example runbook for terraform acceptance example\",\n RunbookType = \"Python3\",\n Content = @\"# Some example content\n# for Terraform acceptance example\n\",\n Tags = \n {\n { \"ENV\", \"runbook_test\" },\n },\n });\n\n var exampleSoftwareUpdateConfiguration = new Azure.Automation.SoftwareUpdateConfiguration(\"example\", new()\n {\n Name = \"example\",\n AutomationAccountId = exampleAccount.Id,\n Linux = new Azure.Automation.Inputs.SoftwareUpdateConfigurationLinuxArgs\n {\n ClassificationsIncludeds = \"Security\",\n ExcludedPackages = new[]\n {\n \"apt\",\n },\n IncludedPackages = new[]\n {\n \"vim\",\n },\n Reboot = \"IfRequired\",\n },\n PreTask = new Azure.Automation.Inputs.SoftwareUpdateConfigurationPreTaskArgs\n {\n Source = exampleRunBook.Name,\n Parameters = \n {\n { \"COMPUTER_NAME\", \"Foo\" },\n },\n },\n Duration = \"PT2H2M2S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := automation.NewAccount(ctx, \"example\", \u0026automation.AccountArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSkuName: pulumi.String(\"Basic\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleRunBook, err := automation.NewRunBook(ctx, \"example\", \u0026automation.RunBookArgs{\n\t\t\tName: pulumi.String(\"Get-AzureVMTutorial\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAutomationAccountName: exampleAccount.Name,\n\t\t\tLogVerbose: pulumi.Bool(true),\n\t\t\tLogProgress: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"This is a example runbook for terraform acceptance example\"),\n\t\t\tRunbookType: pulumi.String(\"Python3\"),\n\t\t\tContent: pulumi.String(\"# Some example content\\n# for Terraform acceptance example\\n\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"ENV\": pulumi.String(\"runbook_test\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = automation.NewSoftwareUpdateConfiguration(ctx, \"example\", \u0026automation.SoftwareUpdateConfigurationArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tAutomationAccountId: exampleAccount.ID(),\n\t\t\tLinux: \u0026automation.SoftwareUpdateConfigurationLinuxArgs{\n\t\t\t\tClassificationsIncludeds: pulumi.StringArray(\"Security\"),\n\t\t\t\tExcludedPackages: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"apt\"),\n\t\t\t\t},\n\t\t\t\tIncludedPackages: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"vim\"),\n\t\t\t\t},\n\t\t\t\tReboot: pulumi.String(\"IfRequired\"),\n\t\t\t},\n\t\t\tPreTask: \u0026automation.SoftwareUpdateConfigurationPreTaskArgs{\n\t\t\t\tSource: exampleRunBook.Name,\n\t\t\t\tParameters: pulumi.StringMap{\n\t\t\t\t\t\"COMPUTER_NAME\": pulumi.String(\"Foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDuration: pulumi.String(\"PT2H2M2S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.automation.Account;\nimport com.pulumi.azure.automation.AccountArgs;\nimport com.pulumi.azure.automation.RunBook;\nimport com.pulumi.azure.automation.RunBookArgs;\nimport com.pulumi.azure.automation.SoftwareUpdateConfiguration;\nimport com.pulumi.azure.automation.SoftwareUpdateConfigurationArgs;\nimport com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs;\nimport com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPreTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"East US\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"example\")\n .location(example.location())\n .resourceGroupName(example.name())\n .skuName(\"Basic\")\n .build());\n\n var exampleRunBook = new RunBook(\"exampleRunBook\", RunBookArgs.builder()\n .name(\"Get-AzureVMTutorial\")\n .location(example.location())\n .resourceGroupName(example.name())\n .automationAccountName(exampleAccount.name())\n .logVerbose(\"true\")\n .logProgress(\"true\")\n .description(\"This is a example runbook for terraform acceptance example\")\n .runbookType(\"Python3\")\n .content(\"\"\"\n# Some example content\n# for Terraform acceptance example\n \"\"\")\n .tags(Map.of(\"ENV\", \"runbook_test\"))\n .build());\n\n var exampleSoftwareUpdateConfiguration = new SoftwareUpdateConfiguration(\"exampleSoftwareUpdateConfiguration\", SoftwareUpdateConfigurationArgs.builder()\n .name(\"example\")\n .automationAccountId(exampleAccount.id())\n .linux(SoftwareUpdateConfigurationLinuxArgs.builder()\n .classificationsIncludeds(\"Security\")\n .excludedPackages(\"apt\")\n .includedPackages(\"vim\")\n .reboot(\"IfRequired\")\n .build())\n .preTask(SoftwareUpdateConfigurationPreTaskArgs.builder()\n .source(exampleRunBook.name())\n .parameters(Map.of(\"COMPUTER_NAME\", \"Foo\"))\n .build())\n .duration(\"PT2H2M2S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: East US\n exampleAccount:\n type: azure:automation:Account\n name: example\n properties:\n name: example\n location: ${example.location}\n resourceGroupName: ${example.name}\n skuName: Basic\n exampleRunBook:\n type: azure:automation:RunBook\n name: example\n properties:\n name: Get-AzureVMTutorial\n location: ${example.location}\n resourceGroupName: ${example.name}\n automationAccountName: ${exampleAccount.name}\n logVerbose: 'true'\n logProgress: 'true'\n description: This is a example runbook for terraform acceptance example\n runbookType: Python3\n content: |\n # Some example content\n # for Terraform acceptance example\n tags:\n ENV: runbook_test\n exampleSoftwareUpdateConfiguration:\n type: azure:automation:SoftwareUpdateConfiguration\n name: example\n properties:\n name: example\n automationAccountId: ${exampleAccount.id}\n linux:\n classificationsIncludeds: Security\n excludedPackages:\n - apt\n includedPackages:\n - vim\n reboot: IfRequired\n preTask:\n source: ${exampleRunBook.name}\n parameters:\n COMPUTER_NAME: Foo\n duration: PT2H2M2S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAutomations Software Update Configuration can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/softwareUpdateConfigurations/suc1\n```\n\n", + "description": "Manages an Automation Software Update Configuration.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"East US\",\n});\nconst exampleAccount = new azure.automation.Account(\"example\", {\n name: \"example\",\n location: example.location,\n resourceGroupName: example.name,\n skuName: \"Basic\",\n});\nconst exampleRunBook = new azure.automation.RunBook(\"example\", {\n name: \"Get-AzureVMTutorial\",\n location: example.location,\n resourceGroupName: example.name,\n automationAccountName: exampleAccount.name,\n logVerbose: true,\n logProgress: true,\n description: \"This is a example runbook for terraform acceptance example\",\n runbookType: \"Python3\",\n content: `# Some example content\n# for Terraform acceptance example\n`,\n tags: {\n ENV: \"runbook_test\",\n },\n});\nconst exampleSoftwareUpdateConfiguration = new azure.automation.SoftwareUpdateConfiguration(\"example\", {\n name: \"example\",\n automationAccountId: exampleAccount.id,\n linux: {\n classificationsIncludeds: \"Security\",\n excludedPackages: [\"apt\"],\n includedPackages: [\"vim\"],\n reboot: \"IfRequired\",\n },\n preTask: {\n source: exampleRunBook.name,\n parameters: {\n COMPUTER_NAME: \"Foo\",\n },\n },\n duration: \"PT2H2M2S\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"East US\")\nexample_account = azure.automation.Account(\"example\",\n name=\"example\",\n location=example.location,\n resource_group_name=example.name,\n sku_name=\"Basic\")\nexample_run_book = azure.automation.RunBook(\"example\",\n name=\"Get-AzureVMTutorial\",\n location=example.location,\n resource_group_name=example.name,\n automation_account_name=example_account.name,\n log_verbose=True,\n log_progress=True,\n description=\"This is a example runbook for terraform acceptance example\",\n runbook_type=\"Python3\",\n content=\"\"\"# Some example content\n# for Terraform acceptance example\n\"\"\",\n tags={\n \"ENV\": \"runbook_test\",\n })\nexample_software_update_configuration = azure.automation.SoftwareUpdateConfiguration(\"example\",\n name=\"example\",\n automation_account_id=example_account.id,\n linux={\n \"classifications_includeds\": \"Security\",\n \"excluded_packages\": [\"apt\"],\n \"included_packages\": [\"vim\"],\n \"reboot\": \"IfRequired\",\n },\n pre_task={\n \"source\": example_run_book.name,\n \"parameters\": {\n \"COMPUTER_NAME\": \"Foo\",\n },\n },\n duration=\"PT2H2M2S\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"East US\",\n });\n\n var exampleAccount = new Azure.Automation.Account(\"example\", new()\n {\n Name = \"example\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n SkuName = \"Basic\",\n });\n\n var exampleRunBook = new Azure.Automation.RunBook(\"example\", new()\n {\n Name = \"Get-AzureVMTutorial\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AutomationAccountName = exampleAccount.Name,\n LogVerbose = true,\n LogProgress = true,\n Description = \"This is a example runbook for terraform acceptance example\",\n RunbookType = \"Python3\",\n Content = @\"# Some example content\n# for Terraform acceptance example\n\",\n Tags = \n {\n { \"ENV\", \"runbook_test\" },\n },\n });\n\n var exampleSoftwareUpdateConfiguration = new Azure.Automation.SoftwareUpdateConfiguration(\"example\", new()\n {\n Name = \"example\",\n AutomationAccountId = exampleAccount.Id,\n Linux = new Azure.Automation.Inputs.SoftwareUpdateConfigurationLinuxArgs\n {\n ClassificationsIncludeds = \"Security\",\n ExcludedPackages = new[]\n {\n \"apt\",\n },\n IncludedPackages = new[]\n {\n \"vim\",\n },\n Reboot = \"IfRequired\",\n },\n PreTask = new Azure.Automation.Inputs.SoftwareUpdateConfigurationPreTaskArgs\n {\n Source = exampleRunBook.Name,\n Parameters = \n {\n { \"COMPUTER_NAME\", \"Foo\" },\n },\n },\n Duration = \"PT2H2M2S\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"East US\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := automation.NewAccount(ctx, \"example\", \u0026automation.AccountArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSkuName: pulumi.String(\"Basic\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleRunBook, err := automation.NewRunBook(ctx, \"example\", \u0026automation.RunBookArgs{\n\t\t\tName: pulumi.String(\"Get-AzureVMTutorial\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAutomationAccountName: exampleAccount.Name,\n\t\t\tLogVerbose: pulumi.Bool(true),\n\t\t\tLogProgress: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"This is a example runbook for terraform acceptance example\"),\n\t\t\tRunbookType: pulumi.String(\"Python3\"),\n\t\t\tContent: pulumi.String(\"# Some example content\\n# for Terraform acceptance example\\n\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"ENV\": pulumi.String(\"runbook_test\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = automation.NewSoftwareUpdateConfiguration(ctx, \"example\", \u0026automation.SoftwareUpdateConfigurationArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tAutomationAccountId: exampleAccount.ID(),\n\t\t\tLinux: \u0026automation.SoftwareUpdateConfigurationLinuxArgs{\n\t\t\t\tClassificationsIncludeds: pulumi.StringArray(\"Security\"),\n\t\t\t\tExcludedPackages: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"apt\"),\n\t\t\t\t},\n\t\t\t\tIncludedPackages: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"vim\"),\n\t\t\t\t},\n\t\t\t\tReboot: pulumi.String(\"IfRequired\"),\n\t\t\t},\n\t\t\tPreTask: \u0026automation.SoftwareUpdateConfigurationPreTaskArgs{\n\t\t\t\tSource: exampleRunBook.Name,\n\t\t\t\tParameters: pulumi.StringMap{\n\t\t\t\t\t\"COMPUTER_NAME\": pulumi.String(\"Foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDuration: pulumi.String(\"PT2H2M2S\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.automation.Account;\nimport com.pulumi.azure.automation.AccountArgs;\nimport com.pulumi.azure.automation.RunBook;\nimport com.pulumi.azure.automation.RunBookArgs;\nimport com.pulumi.azure.automation.SoftwareUpdateConfiguration;\nimport com.pulumi.azure.automation.SoftwareUpdateConfigurationArgs;\nimport com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs;\nimport com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPreTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"East US\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"example\")\n .location(example.location())\n .resourceGroupName(example.name())\n .skuName(\"Basic\")\n .build());\n\n var exampleRunBook = new RunBook(\"exampleRunBook\", RunBookArgs.builder()\n .name(\"Get-AzureVMTutorial\")\n .location(example.location())\n .resourceGroupName(example.name())\n .automationAccountName(exampleAccount.name())\n .logVerbose(\"true\")\n .logProgress(\"true\")\n .description(\"This is a example runbook for terraform acceptance example\")\n .runbookType(\"Python3\")\n .content(\"\"\"\n# Some example content\n# for Terraform acceptance example\n \"\"\")\n .tags(Map.of(\"ENV\", \"runbook_test\"))\n .build());\n\n var exampleSoftwareUpdateConfiguration = new SoftwareUpdateConfiguration(\"exampleSoftwareUpdateConfiguration\", SoftwareUpdateConfigurationArgs.builder()\n .name(\"example\")\n .automationAccountId(exampleAccount.id())\n .linux(SoftwareUpdateConfigurationLinuxArgs.builder()\n .classificationsIncludeds(\"Security\")\n .excludedPackages(\"apt\")\n .includedPackages(\"vim\")\n .reboot(\"IfRequired\")\n .build())\n .preTask(SoftwareUpdateConfigurationPreTaskArgs.builder()\n .source(exampleRunBook.name())\n .parameters(Map.of(\"COMPUTER_NAME\", \"Foo\"))\n .build())\n .duration(\"PT2H2M2S\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: East US\n exampleAccount:\n type: azure:automation:Account\n name: example\n properties:\n name: example\n location: ${example.location}\n resourceGroupName: ${example.name}\n skuName: Basic\n exampleRunBook:\n type: azure:automation:RunBook\n name: example\n properties:\n name: Get-AzureVMTutorial\n location: ${example.location}\n resourceGroupName: ${example.name}\n automationAccountName: ${exampleAccount.name}\n logVerbose: 'true'\n logProgress: 'true'\n description: This is a example runbook for terraform acceptance example\n runbookType: Python3\n content: |\n # Some example content\n # for Terraform acceptance example\n tags:\n ENV: runbook_test\n exampleSoftwareUpdateConfiguration:\n type: azure:automation:SoftwareUpdateConfiguration\n name: example\n properties:\n name: example\n automationAccountId: ${exampleAccount.id}\n linux:\n classificationsIncludeds: Security\n excludedPackages:\n - apt\n includedPackages:\n - vim\n reboot: IfRequired\n preTask:\n source: ${exampleRunBook.name}\n parameters:\n COMPUTER_NAME: Foo\n duration: PT2H2M2S\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAutomations Software Update Configuration can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/softwareUpdateConfigurations/suc1\n```\n\n", "properties": { "automationAccountId": { "type": "string", @@ -138924,6 +138943,66 @@ "type": "object" } }, + "azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist": { + "description": "Manages a Cognitive Account Rai Blocklist.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"Brazil South\",\n});\nconst exampleAccount = new azure.cognitive.Account(\"example\", {\n name: \"example-ca\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"OpenAI\",\n skuName: \"S0\",\n});\nconst exampleAccountRaiBlocklist = new azure.cognitive.AccountRaiBlocklist(\"example\", {\n name: \"example-crb\",\n cognitiveAccountId: exampleAccount.id,\n description: \"Azure OpenAI Rai Blocklist\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"Brazil South\")\nexample_account = azure.cognitive.Account(\"example\",\n name=\"example-ca\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"OpenAI\",\n sku_name=\"S0\")\nexample_account_rai_blocklist = azure.cognitive.AccountRaiBlocklist(\"example\",\n name=\"example-crb\",\n cognitive_account_id=example_account.id,\n description=\"Azure OpenAI Rai Blocklist\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"Brazil South\",\n });\n\n var exampleAccount = new Azure.Cognitive.Account(\"example\", new()\n {\n Name = \"example-ca\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"OpenAI\",\n SkuName = \"S0\",\n });\n\n var exampleAccountRaiBlocklist = new Azure.Cognitive.AccountRaiBlocklist(\"example\", new()\n {\n Name = \"example-crb\",\n CognitiveAccountId = exampleAccount.Id,\n Description = \"Azure OpenAI Rai Blocklist\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"Brazil South\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := cognitive.NewAccount(ctx, \"example\", \u0026cognitive.AccountArgs{\n\t\t\tName: pulumi.String(\"example-ca\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.String(\"OpenAI\"),\n\t\t\tSkuName: pulumi.String(\"S0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cognitive.NewAccountRaiBlocklist(ctx, \"example\", \u0026cognitive.AccountRaiBlocklistArgs{\n\t\t\tName: pulumi.String(\"example-crb\"),\n\t\t\tCognitiveAccountId: exampleAccount.ID(),\n\t\t\tDescription: pulumi.String(\"Azure OpenAI Rai Blocklist\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cognitive.Account;\nimport com.pulumi.azure.cognitive.AccountArgs;\nimport com.pulumi.azure.cognitive.AccountRaiBlocklist;\nimport com.pulumi.azure.cognitive.AccountRaiBlocklistArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"Brazil South\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"example-ca\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"OpenAI\")\n .skuName(\"S0\")\n .build());\n\n var exampleAccountRaiBlocklist = new AccountRaiBlocklist(\"exampleAccountRaiBlocklist\", AccountRaiBlocklistArgs.builder()\n .name(\"example-crb\")\n .cognitiveAccountId(exampleAccount.id())\n .description(\"Azure OpenAI Rai Blocklist\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: Brazil South\n exampleAccount:\n type: azure:cognitive:Account\n name: example\n properties:\n name: example-ca\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: OpenAI\n skuName: S0\n exampleAccountRaiBlocklist:\n type: azure:cognitive:AccountRaiBlocklist\n name: example\n properties:\n name: example-crb\n cognitiveAccountId: ${exampleAccount.id}\n description: Azure OpenAI Rai Blocklist\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCognitive Account Rai Blocklist can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1\n```\n\n", + "properties": { + "cognitiveAccountId": { + "type": "string", + "description": "The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n" + }, + "description": { + "type": "string", + "description": "A short description for the Cognitive Account Rai Blocklist.\n" + }, + "name": { + "type": "string", + "description": "The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n" + } + }, + "required": [ + "cognitiveAccountId", + "name" + ], + "inputProperties": { + "cognitiveAccountId": { + "type": "string", + "description": "The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n", + "willReplaceOnChanges": true + }, + "description": { + "type": "string", + "description": "A short description for the Cognitive Account Rai Blocklist.\n" + }, + "name": { + "type": "string", + "description": "The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "cognitiveAccountId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AccountRaiBlocklist resources.\n", + "properties": { + "cognitiveAccountId": { + "type": "string", + "description": "The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n", + "willReplaceOnChanges": true + }, + "description": { + "type": "string", + "description": "A short description for the Cognitive Account Rai Blocklist.\n" + }, + "name": { + "type": "string", + "description": "The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "azure:cognitive/deployment:Deployment": { "description": "Manages a Cognitive Services Account Deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.cognitive.Account(\"example\", {\n name: \"example-ca\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"OpenAI\",\n skuName: \"S0\",\n});\nconst exampleDeployment = new azure.cognitive.Deployment(\"example\", {\n name: \"example-cd\",\n cognitiveAccountId: exampleAccount.id,\n model: {\n format: \"OpenAI\",\n name: \"text-curie-001\",\n version: \"1\",\n },\n sku: {\n name: \"Standard\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_account = azure.cognitive.Account(\"example\",\n name=\"example-ca\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"OpenAI\",\n sku_name=\"S0\")\nexample_deployment = azure.cognitive.Deployment(\"example\",\n name=\"example-cd\",\n cognitive_account_id=example_account.id,\n model={\n \"format\": \"OpenAI\",\n \"name\": \"text-curie-001\",\n \"version\": \"1\",\n },\n sku={\n \"name\": \"Standard\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Cognitive.Account(\"example\", new()\n {\n Name = \"example-ca\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"OpenAI\",\n SkuName = \"S0\",\n });\n\n var exampleDeployment = new Azure.Cognitive.Deployment(\"example\", new()\n {\n Name = \"example-cd\",\n CognitiveAccountId = exampleAccount.Id,\n Model = new Azure.Cognitive.Inputs.DeploymentModelArgs\n {\n Format = \"OpenAI\",\n Name = \"text-curie-001\",\n Version = \"1\",\n },\n Sku = new Azure.Cognitive.Inputs.DeploymentSkuArgs\n {\n Name = \"Standard\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := cognitive.NewAccount(ctx, \"example\", \u0026cognitive.AccountArgs{\n\t\t\tName: pulumi.String(\"example-ca\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.String(\"OpenAI\"),\n\t\t\tSkuName: pulumi.String(\"S0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cognitive.NewDeployment(ctx, \"example\", \u0026cognitive.DeploymentArgs{\n\t\t\tName: pulumi.String(\"example-cd\"),\n\t\t\tCognitiveAccountId: exampleAccount.ID(),\n\t\t\tModel: \u0026cognitive.DeploymentModelArgs{\n\t\t\t\tFormat: pulumi.String(\"OpenAI\"),\n\t\t\t\tName: pulumi.String(\"text-curie-001\"),\n\t\t\t\tVersion: pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tSku: \u0026cognitive.DeploymentSkuArgs{\n\t\t\t\tName: pulumi.String(\"Standard\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cognitive.Account;\nimport com.pulumi.azure.cognitive.AccountArgs;\nimport com.pulumi.azure.cognitive.Deployment;\nimport com.pulumi.azure.cognitive.DeploymentArgs;\nimport com.pulumi.azure.cognitive.inputs.DeploymentModelArgs;\nimport com.pulumi.azure.cognitive.inputs.DeploymentSkuArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"example-ca\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"OpenAI\")\n .skuName(\"S0\")\n .build());\n\n var exampleDeployment = new Deployment(\"exampleDeployment\", DeploymentArgs.builder()\n .name(\"example-cd\")\n .cognitiveAccountId(exampleAccount.id())\n .model(DeploymentModelArgs.builder()\n .format(\"OpenAI\")\n .name(\"text-curie-001\")\n .version(\"1\")\n .build())\n .sku(DeploymentSkuArgs.builder()\n .name(\"Standard\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleAccount:\n type: azure:cognitive:Account\n name: example\n properties:\n name: example-ca\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: OpenAI\n skuName: S0\n exampleDeployment:\n type: azure:cognitive:Deployment\n name: example\n properties:\n name: example-cd\n cognitiveAccountId: ${exampleAccount.id}\n model:\n format: OpenAI\n name: text-curie-001\n version: '1'\n sku:\n name: Standard\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCognitive Services Account Deployment can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cognitive/deployment:Deployment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/deployments/deployment1\n```\n\n", "properties": { @@ -143292,7 +143371,7 @@ }, "performancePlusEnabled": { "type": "boolean", - "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n\n\u003e **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD.\n" + "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n" }, "publicNetworkAccessEnabled": { "type": "boolean", @@ -143459,7 +143538,7 @@ }, "performancePlusEnabled": { "type": "boolean", - "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n\n\u003e **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD.\n", + "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n", "willReplaceOnChanges": true }, "publicNetworkAccessEnabled": { @@ -143627,7 +143706,7 @@ }, "performancePlusEnabled": { "type": "boolean", - "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n\n\u003e **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD.\n", + "description": "Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created.\n", "willReplaceOnChanges": true }, "publicNetworkAccessEnabled": { @@ -188347,6 +188426,125 @@ "type": "object" } }, + "azure:fabric/capacity:Capacity": { + "description": "Manages a Fabric Capacity.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst current = azure.core.getClientConfig({});\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleCapacity = new azure.fabric.Capacity(\"example\", {\n name: \"example-ffc\",\n resourceGroupName: example.name,\n location: \"West Europe\",\n administrationMembers: [current.then(current =\u003e current.objectId)],\n sku: {\n name: \"F32\",\n tier: \"Fabric\",\n },\n tags: {\n environment: \"test\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\ncurrent = azure.core.get_client_config()\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_capacity = azure.fabric.Capacity(\"example\",\n name=\"example-ffc\",\n resource_group_name=example.name,\n location=\"West Europe\",\n administration_members=[current.object_id],\n sku={\n \"name\": \"F32\",\n \"tier\": \"Fabric\",\n },\n tags={\n \"environment\": \"test\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var current = Azure.Core.GetClientConfig.Invoke();\n\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleCapacity = new Azure.Fabric.Capacity(\"example\", new()\n {\n Name = \"example-ffc\",\n ResourceGroupName = example.Name,\n Location = \"West Europe\",\n AdministrationMembers = new[]\n {\n current.Apply(getClientConfigResult =\u003e getClientConfigResult.ObjectId),\n },\n Sku = new Azure.Fabric.Inputs.CapacitySkuArgs\n {\n Name = \"F32\",\n Tier = \"Fabric\",\n },\n Tags = \n {\n { \"environment\", \"test\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcurrent, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fabric.NewCapacity(ctx, \"example\", \u0026fabric.CapacityArgs{\n\t\t\tName: pulumi.String(\"example-ffc\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t\tAdministrationMembers: pulumi.StringArray{\n\t\t\t\tpulumi.String(current.ObjectId),\n\t\t\t},\n\t\t\tSku: \u0026fabric.CapacitySkuArgs{\n\t\t\t\tName: pulumi.String(\"F32\"),\n\t\t\t\tTier: pulumi.String(\"Fabric\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"test\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.CoreFunctions;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.fabric.Capacity;\nimport com.pulumi.azure.fabric.CapacityArgs;\nimport com.pulumi.azure.fabric.inputs.CapacitySkuArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var current = CoreFunctions.getClientConfig();\n\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleCapacity = new Capacity(\"exampleCapacity\", CapacityArgs.builder()\n .name(\"example-ffc\")\n .resourceGroupName(example.name())\n .location(\"West Europe\")\n .administrationMembers(current.applyValue(getClientConfigResult -\u003e getClientConfigResult.objectId()))\n .sku(CapacitySkuArgs.builder()\n .name(\"F32\")\n .tier(\"Fabric\")\n .build())\n .tags(Map.of(\"environment\", \"test\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleCapacity:\n type: azure:fabric:Capacity\n name: example\n properties:\n name: example-ffc\n resourceGroupName: ${example.name}\n location: West Europe\n administrationMembers:\n - ${current.objectId}\n sku:\n name: F32\n tier: Fabric\n tags:\n environment: test\nvariables:\n current:\n fn::invoke:\n function: azure:core:getClientConfig\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFabric Capacities can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1\n```\n\n", + "properties": { + "administrationMembers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of administrator user identities. The member must be an Entra member user or a service principal.\n" + }, + "location": { + "type": "string", + "description": "The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.\n" + }, + "name": { + "type": "string", + "description": "The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.\n" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.\n" + }, + "sku": { + "$ref": "#/types/azure:fabric/CapacitySku:CapacitySku", + "description": "A `sku` block as defined below.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Fabric Capacity.\n" + } + }, + "required": [ + "location", + "name", + "resourceGroupName", + "sku" + ], + "inputProperties": { + "administrationMembers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of administrator user identities. The member must be an Entra member user or a service principal.\n" + }, + "location": { + "type": "string", + "description": "The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "sku": { + "$ref": "#/types/azure:fabric/CapacitySku:CapacitySku", + "description": "A `sku` block as defined below.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Fabric Capacity.\n" + } + }, + "requiredInputs": [ + "resourceGroupName", + "sku" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Capacity resources.\n", + "properties": { + "administrationMembers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of administrator user identities. The member must be an Entra member user or a service principal.\n" + }, + "location": { + "type": "string", + "description": "The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "sku": { + "$ref": "#/types/azure:fabric/CapacitySku:CapacitySku", + "description": "A `sku` block as defined below.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Fabric Capacity.\n" + } + }, + "type": "object" + } + }, "azure:fluidrelay/server:Server": { "description": "Manages a Fluid Relay Server.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleServer = new azure.fluidrelay.Server(\"example\", {\n name: \"example\",\n resourceGroupName: example.name,\n location: example.location,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_server = azure.fluidrelay.Server(\"example\",\n name=\"example\",\n resource_group_name=example.name,\n location=example.location)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleServer = new Azure.FluidRelay.Server(\"example\", new()\n {\n Name = \"example\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/fluidrelay\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fluidrelay.NewServer(ctx, \"example\", \u0026fluidrelay.ServerArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.fluidrelay.Server;\nimport com.pulumi.azure.fluidrelay.ServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleServer = new Server(\"exampleServer\", ServerArgs.builder()\n .name(\"example\")\n .resourceGroupName(example.name())\n .location(example.location())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleServer:\n type: azure:fluidrelay:Server\n name: example\n properties:\n name: example\n resourceGroupName: ${example.name}\n location: ${example.location}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFluid Relay Servers can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:fluidrelay/server:Server example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.FluidRelay/fluidRelayServers/server1\n```\n\n", "properties": { @@ -217427,7 +217625,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n" + "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n\n\u003e **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.\n" }, "name": { "type": "string", @@ -217512,7 +217710,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n" + "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n\n\u003e **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.\n" }, "name": { "type": "string", @@ -217593,7 +217791,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n" + "description": "The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`.\n\n\u003e **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`.\n\n\u003e **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.\n" }, "name": { "type": "string", @@ -233771,7 +233969,7 @@ } }, "azure:nginx/configuration:Configuration": { - "description": "Manages the configuration for a Nginx Deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as std from \"@pulumi/std\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst examplePublicIp = new azure.network.PublicIp(\"example\", {\n name: \"example\",\n resourceGroupName: example.name,\n location: example.location,\n allocationMethod: \"Static\",\n sku: \"Standard\",\n tags: {\n environment: \"Production\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.2.0/24\"],\n delegations: [{\n name: \"delegation\",\n serviceDelegation: {\n name: \"NGINX.NGINXPLUS/nginxDeployments\",\n actions: [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }],\n});\nconst exampleDeployment = new azure.nginx.Deployment(\"example\", {\n name: \"example-nginx\",\n resourceGroupName: example.name,\n sku: \"publicpreview_Monthly_gmz7xq9ge3py\",\n location: example.location,\n managedResourceGroup: \"example\",\n diagnoseSupportEnabled: true,\n frontendPublic: {\n ipAddresses: [examplePublicIp.id],\n },\n networkInterfaces: [{\n subnetId: exampleSubnet.id,\n }],\n});\nconst exampleConfiguration = new azure.nginx.Configuration(\"example\", {\n nginxDeploymentId: exampleDeployment.id,\n rootFile: \"/etc/nginx/nginx.conf\",\n configFiles: [\n {\n content: std.base64encode({\n input: `http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n`,\n }).then(invoke =\u003e invoke.result),\n virtualPath: \"/etc/nginx/nginx.conf\",\n },\n {\n content: std.base64encode({\n input: `location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n`,\n }).then(invoke =\u003e invoke.result),\n virtualPath: \"/etc/nginx/site/b.conf\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_std as std\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_public_ip = azure.network.PublicIp(\"example\",\n name=\"example\",\n resource_group_name=example.name,\n location=example.location,\n allocation_method=\"Static\",\n sku=\"Standard\",\n tags={\n \"environment\": \"Production\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.2.0/24\"],\n delegations=[{\n \"name\": \"delegation\",\n \"service_delegation\": {\n \"name\": \"NGINX.NGINXPLUS/nginxDeployments\",\n \"actions\": [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }])\nexample_deployment = azure.nginx.Deployment(\"example\",\n name=\"example-nginx\",\n resource_group_name=example.name,\n sku=\"publicpreview_Monthly_gmz7xq9ge3py\",\n location=example.location,\n managed_resource_group=\"example\",\n diagnose_support_enabled=True,\n frontend_public={\n \"ip_addresses\": [example_public_ip.id],\n },\n network_interfaces=[{\n \"subnet_id\": example_subnet.id,\n }])\nexample_configuration = azure.nginx.Configuration(\"example\",\n nginx_deployment_id=example_deployment.id,\n root_file=\"/etc/nginx/nginx.conf\",\n config_files=[\n {\n \"content\": std.base64encode(input=\"\"\"http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n\"\"\").result,\n \"virtual_path\": \"/etc/nginx/nginx.conf\",\n },\n {\n \"content\": std.base64encode(input=\"\"\"location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n\"\"\").result,\n \"virtual_path\": \"/etc/nginx/site/b.conf\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var examplePublicIp = new Azure.Network.PublicIp(\"example\", new()\n {\n Name = \"example\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AllocationMethod = \"Static\",\n Sku = \"Standard\",\n Tags = \n {\n { \"environment\", \"Production\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.2.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"delegation\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"NGINX.NGINXPLUS/nginxDeployments\",\n Actions = new[]\n {\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n },\n },\n },\n },\n });\n\n var exampleDeployment = new Azure.Nginx.Deployment(\"example\", new()\n {\n Name = \"example-nginx\",\n ResourceGroupName = example.Name,\n Sku = \"publicpreview_Monthly_gmz7xq9ge3py\",\n Location = example.Location,\n ManagedResourceGroup = \"example\",\n DiagnoseSupportEnabled = true,\n FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs\n {\n IpAddresses = new[]\n {\n examplePublicIp.Id,\n },\n },\n NetworkInterfaces = new[]\n {\n new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs\n {\n SubnetId = exampleSubnet.Id,\n },\n },\n });\n\n var exampleConfiguration = new Azure.Nginx.Configuration(\"example\", new()\n {\n NginxDeploymentId = exampleDeployment.Id,\n RootFile = \"/etc/nginx/nginx.conf\",\n ConfigFiles = new[]\n {\n new Azure.Nginx.Inputs.ConfigurationConfigFileArgs\n {\n Content = Std.Base64encode.Invoke(new()\n {\n Input = @\"http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"\"en\"\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n\",\n }).Apply(invoke =\u003e invoke.Result),\n VirtualPath = \"/etc/nginx/nginx.conf\",\n },\n new Azure.Nginx.Inputs.ConfigurationConfigFileArgs\n {\n Content = Std.Base64encode.Invoke(new()\n {\n Input = @\"location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"\"en\"\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n\",\n }).Apply(invoke =\u003e invoke.Result),\n VirtualPath = \"/etc/nginx/site/b.conf\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/nginx\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePublicIp, err := network.NewPublicIp(ctx, \"example\", \u0026network.PublicIpArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAllocationMethod: pulumi.String(\"Static\"),\n\t\t\tSku: pulumi.String(\"Standard\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.2.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"delegation\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"NGINX.NGINXPLUS/nginxDeployments\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDeployment, err := nginx.NewDeployment(ctx, \"example\", \u0026nginx.DeploymentArgs{\n\t\t\tName: pulumi.String(\"example-nginx\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"publicpreview_Monthly_gmz7xq9ge3py\"),\n\t\t\tLocation: example.Location,\n\t\t\tManagedResourceGroup: pulumi.String(\"example\"),\n\t\t\tDiagnoseSupportEnabled: pulumi.Bool(true),\n\t\t\tFrontendPublic: \u0026nginx.DeploymentFrontendPublicArgs{\n\t\t\t\tIpAddresses: pulumi.StringArray{\n\t\t\t\t\texamplePublicIp.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{\n\t\t\t\t\u0026nginx.DeploymentNetworkInterfaceArgs{\n\t\t\t\t\tSubnetId: exampleSubnet.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode1, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = nginx.NewConfiguration(ctx, \"example\", \u0026nginx.ConfigurationArgs{\n\t\t\tNginxDeploymentId: exampleDeployment.ID(),\n\t\t\tRootFile: pulumi.String(\"/etc/nginx/nginx.conf\"),\n\t\t\tConfigFiles: nginx.ConfigurationConfigFileArray{\n\t\t\t\t\u0026nginx.ConfigurationConfigFileArgs{\n\t\t\t\t\tContent: pulumi.String(invokeBase64encode.Result),\n\t\t\t\t\tVirtualPath: pulumi.String(\"/etc/nginx/nginx.conf\"),\n\t\t\t\t},\n\t\t\t\t\u0026nginx.ConfigurationConfigFileArgs{\n\t\t\t\t\tContent: pulumi.String(invokeBase64encode1.Result),\n\t\t\t\t\tVirtualPath: pulumi.String(\"/etc/nginx/site/b.conf\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.PublicIp;\nimport com.pulumi.azure.network.PublicIpArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.nginx.Deployment;\nimport com.pulumi.azure.nginx.DeploymentArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentFrontendPublicArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentNetworkInterfaceArgs;\nimport com.pulumi.azure.nginx.Configuration;\nimport com.pulumi.azure.nginx.ConfigurationArgs;\nimport com.pulumi.azure.nginx.inputs.ConfigurationConfigFileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var examplePublicIp = new PublicIp(\"examplePublicIp\", PublicIpArgs.builder()\n .name(\"example\")\n .resourceGroupName(example.name())\n .location(example.location())\n .allocationMethod(\"Static\")\n .sku(\"Standard\")\n .tags(Map.of(\"environment\", \"Production\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.2.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"delegation\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"NGINX.NGINXPLUS/nginxDeployments\")\n .actions(\"Microsoft.Network/virtualNetworks/subnets/join/action\")\n .build())\n .build())\n .build());\n\n var exampleDeployment = new Deployment(\"exampleDeployment\", DeploymentArgs.builder()\n .name(\"example-nginx\")\n .resourceGroupName(example.name())\n .sku(\"publicpreview_Monthly_gmz7xq9ge3py\")\n .location(example.location())\n .managedResourceGroup(\"example\")\n .diagnoseSupportEnabled(true)\n .frontendPublic(DeploymentFrontendPublicArgs.builder()\n .ipAddresses(examplePublicIp.id())\n .build())\n .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()\n .subnetId(exampleSubnet.id())\n .build())\n .build());\n\n var exampleConfiguration = new Configuration(\"exampleConfiguration\", ConfigurationArgs.builder()\n .nginxDeploymentId(exampleDeployment.id())\n .rootFile(\"/etc/nginx/nginx.conf\")\n .configFiles( \n ConfigurationConfigFileArgs.builder()\n .content(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nhttp {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n \"\"\")\n .build()).result())\n .virtualPath(\"/etc/nginx/nginx.conf\")\n .build(),\n ConfigurationConfigFileArgs.builder()\n .content(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nlocation /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n \"\"\")\n .build()).result())\n .virtualPath(\"/etc/nginx/site/b.conf\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n examplePublicIp:\n type: azure:network:PublicIp\n name: example\n properties:\n name: example\n resourceGroupName: ${example.name}\n location: ${example.location}\n allocationMethod: Static\n sku: Standard\n tags:\n environment: Production\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.2.0/24\n delegations:\n - name: delegation\n serviceDelegation:\n name: NGINX.NGINXPLUS/nginxDeployments\n actions:\n - Microsoft.Network/virtualNetworks/subnets/join/action\n exampleDeployment:\n type: azure:nginx:Deployment\n name: example\n properties:\n name: example-nginx\n resourceGroupName: ${example.name}\n sku: publicpreview_Monthly_gmz7xq9ge3py\n location: ${example.location}\n managedResourceGroup: example\n diagnoseSupportEnabled: true\n frontendPublic:\n ipAddresses:\n - ${examplePublicIp.id}\n networkInterfaces:\n - subnetId: ${exampleSubnet.id}\n exampleConfiguration:\n type: azure:nginx:Configuration\n name: example\n properties:\n nginxDeploymentId: ${exampleDeployment.id}\n rootFile: /etc/nginx/nginx.conf\n configFiles:\n - content:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n }\n return: result\n virtualPath: /etc/nginx/nginx.conf\n - content:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n return: result\n virtualPath: /etc/nginx/site/b.conf\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAn Nginx Configuration can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:nginx/configuration:Configuration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1/configurations/default\n```\n\n", + "description": "Manages the configuration for a Nginx Deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as std from \"@pulumi/std\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst examplePublicIp = new azure.network.PublicIp(\"example\", {\n name: \"example\",\n resourceGroupName: example.name,\n location: example.location,\n allocationMethod: \"Static\",\n sku: \"Standard\",\n tags: {\n environment: \"Production\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.2.0/24\"],\n delegations: [{\n name: \"delegation\",\n serviceDelegation: {\n name: \"NGINX.NGINXPLUS/nginxDeployments\",\n actions: [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }],\n});\nconst exampleDeployment = new azure.nginx.Deployment(\"example\", {\n name: \"example-nginx\",\n resourceGroupName: example.name,\n sku: \"publicpreview_Monthly_gmz7xq9ge3py\",\n location: example.location,\n diagnoseSupportEnabled: true,\n frontendPublic: {\n ipAddresses: [examplePublicIp.id],\n },\n networkInterfaces: [{\n subnetId: exampleSubnet.id,\n }],\n});\nconst exampleConfiguration = new azure.nginx.Configuration(\"example\", {\n nginxDeploymentId: exampleDeployment.id,\n rootFile: \"/etc/nginx/nginx.conf\",\n configFiles: [\n {\n content: std.base64encode({\n input: `http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n`,\n }).then(invoke =\u003e invoke.result),\n virtualPath: \"/etc/nginx/nginx.conf\",\n },\n {\n content: std.base64encode({\n input: `location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n`,\n }).then(invoke =\u003e invoke.result),\n virtualPath: \"/etc/nginx/site/b.conf\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_std as std\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_public_ip = azure.network.PublicIp(\"example\",\n name=\"example\",\n resource_group_name=example.name,\n location=example.location,\n allocation_method=\"Static\",\n sku=\"Standard\",\n tags={\n \"environment\": \"Production\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.2.0/24\"],\n delegations=[{\n \"name\": \"delegation\",\n \"service_delegation\": {\n \"name\": \"NGINX.NGINXPLUS/nginxDeployments\",\n \"actions\": [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }])\nexample_deployment = azure.nginx.Deployment(\"example\",\n name=\"example-nginx\",\n resource_group_name=example.name,\n sku=\"publicpreview_Monthly_gmz7xq9ge3py\",\n location=example.location,\n diagnose_support_enabled=True,\n frontend_public={\n \"ip_addresses\": [example_public_ip.id],\n },\n network_interfaces=[{\n \"subnet_id\": example_subnet.id,\n }])\nexample_configuration = azure.nginx.Configuration(\"example\",\n nginx_deployment_id=example_deployment.id,\n root_file=\"/etc/nginx/nginx.conf\",\n config_files=[\n {\n \"content\": std.base64encode(input=\"\"\"http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n\"\"\").result,\n \"virtual_path\": \"/etc/nginx/nginx.conf\",\n },\n {\n \"content\": std.base64encode(input=\"\"\"location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n\"\"\").result,\n \"virtual_path\": \"/etc/nginx/site/b.conf\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Std = Pulumi.Std;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var examplePublicIp = new Azure.Network.PublicIp(\"example\", new()\n {\n Name = \"example\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AllocationMethod = \"Static\",\n Sku = \"Standard\",\n Tags = \n {\n { \"environment\", \"Production\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.2.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"delegation\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"NGINX.NGINXPLUS/nginxDeployments\",\n Actions = new[]\n {\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n },\n },\n },\n },\n });\n\n var exampleDeployment = new Azure.Nginx.Deployment(\"example\", new()\n {\n Name = \"example-nginx\",\n ResourceGroupName = example.Name,\n Sku = \"publicpreview_Monthly_gmz7xq9ge3py\",\n Location = example.Location,\n DiagnoseSupportEnabled = true,\n FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs\n {\n IpAddresses = new[]\n {\n examplePublicIp.Id,\n },\n },\n NetworkInterfaces = new[]\n {\n new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs\n {\n SubnetId = exampleSubnet.Id,\n },\n },\n });\n\n var exampleConfiguration = new Azure.Nginx.Configuration(\"example\", new()\n {\n NginxDeploymentId = exampleDeployment.Id,\n RootFile = \"/etc/nginx/nginx.conf\",\n ConfigFiles = new[]\n {\n new Azure.Nginx.Inputs.ConfigurationConfigFileArgs\n {\n Content = Std.Base64encode.Invoke(new()\n {\n Input = @\"http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"\"en\"\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n\",\n }).Apply(invoke =\u003e invoke.Result),\n VirtualPath = \"/etc/nginx/nginx.conf\",\n },\n new Azure.Nginx.Inputs.ConfigurationConfigFileArgs\n {\n Content = Std.Base64encode.Invoke(new()\n {\n Input = @\"location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"\"en\"\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n\",\n }).Apply(invoke =\u003e invoke.Result),\n VirtualPath = \"/etc/nginx/site/b.conf\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/nginx\"\n\t\"github.com/pulumi/pulumi-std/sdk/go/std\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePublicIp, err := network.NewPublicIp(ctx, \"example\", \u0026network.PublicIpArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAllocationMethod: pulumi.String(\"Static\"),\n\t\t\tSku: pulumi.String(\"Standard\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.2.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"delegation\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"NGINX.NGINXPLUS/nginxDeployments\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDeployment, err := nginx.NewDeployment(ctx, \"example\", \u0026nginx.DeploymentArgs{\n\t\t\tName: pulumi.String(\"example-nginx\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"publicpreview_Monthly_gmz7xq9ge3py\"),\n\t\t\tLocation: example.Location,\n\t\t\tDiagnoseSupportEnabled: pulumi.Bool(true),\n\t\t\tFrontendPublic: \u0026nginx.DeploymentFrontendPublicArgs{\n\t\t\t\tIpAddresses: pulumi.StringArray{\n\t\t\t\t\texamplePublicIp.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{\n\t\t\t\t\u0026nginx.DeploymentNetworkInterfaceArgs{\n\t\t\t\t\tSubnetId: exampleSubnet.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tinvokeBase64encode1, err := std.Base64encode(ctx, \u0026std.Base64encodeArgs{\n\t\t\tInput: `location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n`,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = nginx.NewConfiguration(ctx, \"example\", \u0026nginx.ConfigurationArgs{\n\t\t\tNginxDeploymentId: exampleDeployment.ID(),\n\t\t\tRootFile: pulumi.String(\"/etc/nginx/nginx.conf\"),\n\t\t\tConfigFiles: nginx.ConfigurationConfigFileArray{\n\t\t\t\t\u0026nginx.ConfigurationConfigFileArgs{\n\t\t\t\t\tContent: pulumi.String(invokeBase64encode.Result),\n\t\t\t\t\tVirtualPath: pulumi.String(\"/etc/nginx/nginx.conf\"),\n\t\t\t\t},\n\t\t\t\t\u0026nginx.ConfigurationConfigFileArgs{\n\t\t\t\t\tContent: pulumi.String(invokeBase64encode1.Result),\n\t\t\t\t\tVirtualPath: pulumi.String(\"/etc/nginx/site/b.conf\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.PublicIp;\nimport com.pulumi.azure.network.PublicIpArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.nginx.Deployment;\nimport com.pulumi.azure.nginx.DeploymentArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentFrontendPublicArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentNetworkInterfaceArgs;\nimport com.pulumi.azure.nginx.Configuration;\nimport com.pulumi.azure.nginx.ConfigurationArgs;\nimport com.pulumi.azure.nginx.inputs.ConfigurationConfigFileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var examplePublicIp = new PublicIp(\"examplePublicIp\", PublicIpArgs.builder()\n .name(\"example\")\n .resourceGroupName(example.name())\n .location(example.location())\n .allocationMethod(\"Static\")\n .sku(\"Standard\")\n .tags(Map.of(\"environment\", \"Production\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.2.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"delegation\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"NGINX.NGINXPLUS/nginxDeployments\")\n .actions(\"Microsoft.Network/virtualNetworks/subnets/join/action\")\n .build())\n .build())\n .build());\n\n var exampleDeployment = new Deployment(\"exampleDeployment\", DeploymentArgs.builder()\n .name(\"example-nginx\")\n .resourceGroupName(example.name())\n .sku(\"publicpreview_Monthly_gmz7xq9ge3py\")\n .location(example.location())\n .diagnoseSupportEnabled(true)\n .frontendPublic(DeploymentFrontendPublicArgs.builder()\n .ipAddresses(examplePublicIp.id())\n .build())\n .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()\n .subnetId(exampleSubnet.id())\n .build())\n .build());\n\n var exampleConfiguration = new Configuration(\"exampleConfiguration\", ConfigurationArgs.builder()\n .nginxDeploymentId(exampleDeployment.id())\n .rootFile(\"/etc/nginx/nginx.conf\")\n .configFiles( \n ConfigurationConfigFileArgs.builder()\n .content(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nhttp {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n}\n \"\"\")\n .build()).result())\n .virtualPath(\"/etc/nginx/nginx.conf\")\n .build(),\n ConfigurationConfigFileArgs.builder()\n .content(StdFunctions.base64encode(Base64encodeArgs.builder()\n .input(\"\"\"\nlocation /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n}\n \"\"\")\n .build()).result())\n .virtualPath(\"/etc/nginx/site/b.conf\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n examplePublicIp:\n type: azure:network:PublicIp\n name: example\n properties:\n name: example\n resourceGroupName: ${example.name}\n location: ${example.location}\n allocationMethod: Static\n sku: Standard\n tags:\n environment: Production\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.2.0/24\n delegations:\n - name: delegation\n serviceDelegation:\n name: NGINX.NGINXPLUS/nginxDeployments\n actions:\n - Microsoft.Network/virtualNetworks/subnets/join/action\n exampleDeployment:\n type: azure:nginx:Deployment\n name: example\n properties:\n name: example-nginx\n resourceGroupName: ${example.name}\n sku: publicpreview_Monthly_gmz7xq9ge3py\n location: ${example.location}\n diagnoseSupportEnabled: true\n frontendPublic:\n ipAddresses:\n - ${examplePublicIp.id}\n networkInterfaces:\n - subnetId: ${exampleSubnet.id}\n exampleConfiguration:\n type: azure:nginx:Configuration\n name: example\n properties:\n nginxDeploymentId: ${exampleDeployment.id}\n rootFile: /etc/nginx/nginx.conf\n configFiles:\n - content:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n http {\n server {\n listen 80;\n location / {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n include site/*.conf;\n }\n }\n return: result\n virtualPath: /etc/nginx/nginx.conf\n - content:\n fn::invoke:\n function: std:base64encode\n arguments:\n input: |\n location /bbb {\n default_type text/html;\n return 200 '\u003c!doctype html\u003e\u003chtml lang=\"en\"\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\n \u003cdiv\u003ethis one will be updated\u003c/div\u003e\n \u003cdiv\u003eat 10:38 am\u003c/div\u003e\n \u003c/body\u003e\u003c/html\u003e';\n }\n return: result\n virtualPath: /etc/nginx/site/b.conf\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAn Nginx Configuration can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:nginx/configuration:Configuration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1/configurations/default\n```\n\n", "properties": { "configFiles": { "type": "array", @@ -233872,7 +234070,7 @@ } }, "azure:nginx/deployment:Deployment": { - "description": "Manages an NGINX Deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst examplePublicIp = new azure.network.PublicIp(\"example\", {\n name: \"example\",\n resourceGroupName: example.name,\n location: example.location,\n allocationMethod: \"Static\",\n sku: \"Standard\",\n tags: {\n environment: \"Production\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.2.0/24\"],\n delegations: [{\n name: \"delegation\",\n serviceDelegation: {\n name: \"NGINX.NGINXPLUS/nginxDeployments\",\n actions: [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }],\n});\nconst exampleDeployment = new azure.nginx.Deployment(\"example\", {\n name: \"example-nginx\",\n resourceGroupName: example.name,\n sku: \"standardv2_Monthly\",\n location: example.location,\n managedResourceGroup: \"example\",\n diagnoseSupportEnabled: true,\n automaticUpgradeChannel: \"stable\",\n frontendPublic: {\n ipAddresses: [examplePublicIp.id],\n },\n networkInterfaces: [{\n subnetId: exampleSubnet.id,\n }],\n capacity: 20,\n email: \"user@test.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_public_ip = azure.network.PublicIp(\"example\",\n name=\"example\",\n resource_group_name=example.name,\n location=example.location,\n allocation_method=\"Static\",\n sku=\"Standard\",\n tags={\n \"environment\": \"Production\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.2.0/24\"],\n delegations=[{\n \"name\": \"delegation\",\n \"service_delegation\": {\n \"name\": \"NGINX.NGINXPLUS/nginxDeployments\",\n \"actions\": [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }])\nexample_deployment = azure.nginx.Deployment(\"example\",\n name=\"example-nginx\",\n resource_group_name=example.name,\n sku=\"standardv2_Monthly\",\n location=example.location,\n managed_resource_group=\"example\",\n diagnose_support_enabled=True,\n automatic_upgrade_channel=\"stable\",\n frontend_public={\n \"ip_addresses\": [example_public_ip.id],\n },\n network_interfaces=[{\n \"subnet_id\": example_subnet.id,\n }],\n capacity=20,\n email=\"user@test.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var examplePublicIp = new Azure.Network.PublicIp(\"example\", new()\n {\n Name = \"example\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AllocationMethod = \"Static\",\n Sku = \"Standard\",\n Tags = \n {\n { \"environment\", \"Production\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.2.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"delegation\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"NGINX.NGINXPLUS/nginxDeployments\",\n Actions = new[]\n {\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n },\n },\n },\n },\n });\n\n var exampleDeployment = new Azure.Nginx.Deployment(\"example\", new()\n {\n Name = \"example-nginx\",\n ResourceGroupName = example.Name,\n Sku = \"standardv2_Monthly\",\n Location = example.Location,\n ManagedResourceGroup = \"example\",\n DiagnoseSupportEnabled = true,\n AutomaticUpgradeChannel = \"stable\",\n FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs\n {\n IpAddresses = new[]\n {\n examplePublicIp.Id,\n },\n },\n NetworkInterfaces = new[]\n {\n new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs\n {\n SubnetId = exampleSubnet.Id,\n },\n },\n Capacity = 20,\n Email = \"user@test.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/nginx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePublicIp, err := network.NewPublicIp(ctx, \"example\", \u0026network.PublicIpArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAllocationMethod: pulumi.String(\"Static\"),\n\t\t\tSku: pulumi.String(\"Standard\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.2.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"delegation\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"NGINX.NGINXPLUS/nginxDeployments\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = nginx.NewDeployment(ctx, \"example\", \u0026nginx.DeploymentArgs{\n\t\t\tName: pulumi.String(\"example-nginx\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"standardv2_Monthly\"),\n\t\t\tLocation: example.Location,\n\t\t\tManagedResourceGroup: pulumi.String(\"example\"),\n\t\t\tDiagnoseSupportEnabled: pulumi.Bool(true),\n\t\t\tAutomaticUpgradeChannel: pulumi.String(\"stable\"),\n\t\t\tFrontendPublic: \u0026nginx.DeploymentFrontendPublicArgs{\n\t\t\t\tIpAddresses: pulumi.StringArray{\n\t\t\t\t\texamplePublicIp.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{\n\t\t\t\t\u0026nginx.DeploymentNetworkInterfaceArgs{\n\t\t\t\t\tSubnetId: exampleSubnet.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tCapacity: pulumi.Int(20),\n\t\t\tEmail: pulumi.String(\"user@test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.PublicIp;\nimport com.pulumi.azure.network.PublicIpArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.nginx.Deployment;\nimport com.pulumi.azure.nginx.DeploymentArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentFrontendPublicArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentNetworkInterfaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var examplePublicIp = new PublicIp(\"examplePublicIp\", PublicIpArgs.builder()\n .name(\"example\")\n .resourceGroupName(example.name())\n .location(example.location())\n .allocationMethod(\"Static\")\n .sku(\"Standard\")\n .tags(Map.of(\"environment\", \"Production\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.2.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"delegation\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"NGINX.NGINXPLUS/nginxDeployments\")\n .actions(\"Microsoft.Network/virtualNetworks/subnets/join/action\")\n .build())\n .build())\n .build());\n\n var exampleDeployment = new Deployment(\"exampleDeployment\", DeploymentArgs.builder()\n .name(\"example-nginx\")\n .resourceGroupName(example.name())\n .sku(\"standardv2_Monthly\")\n .location(example.location())\n .managedResourceGroup(\"example\")\n .diagnoseSupportEnabled(true)\n .automaticUpgradeChannel(\"stable\")\n .frontendPublic(DeploymentFrontendPublicArgs.builder()\n .ipAddresses(examplePublicIp.id())\n .build())\n .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()\n .subnetId(exampleSubnet.id())\n .build())\n .capacity(20)\n .email(\"user@test.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n examplePublicIp:\n type: azure:network:PublicIp\n name: example\n properties:\n name: example\n resourceGroupName: ${example.name}\n location: ${example.location}\n allocationMethod: Static\n sku: Standard\n tags:\n environment: Production\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.2.0/24\n delegations:\n - name: delegation\n serviceDelegation:\n name: NGINX.NGINXPLUS/nginxDeployments\n actions:\n - Microsoft.Network/virtualNetworks/subnets/join/action\n exampleDeployment:\n type: azure:nginx:Deployment\n name: example\n properties:\n name: example-nginx\n resourceGroupName: ${example.name}\n sku: standardv2_Monthly\n location: ${example.location}\n managedResourceGroup: example\n diagnoseSupportEnabled: true\n automaticUpgradeChannel: stable\n frontendPublic:\n ipAddresses:\n - ${examplePublicIp.id}\n networkInterfaces:\n - subnetId: ${exampleSubnet.id}\n capacity: 20\n email: user@test.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNGINX Deployments can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:nginx/deployment:Deployment example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1\n```\n\n", + "description": "Manages an NGINX Deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst examplePublicIp = new azure.network.PublicIp(\"example\", {\n name: \"example\",\n resourceGroupName: example.name,\n location: example.location,\n allocationMethod: \"Static\",\n sku: \"Standard\",\n tags: {\n environment: \"Production\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.2.0/24\"],\n delegations: [{\n name: \"delegation\",\n serviceDelegation: {\n name: \"NGINX.NGINXPLUS/nginxDeployments\",\n actions: [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }],\n});\nconst exampleDeployment = new azure.nginx.Deployment(\"example\", {\n name: \"example-nginx\",\n resourceGroupName: example.name,\n sku: \"standardv2_Monthly\",\n location: example.location,\n diagnoseSupportEnabled: true,\n automaticUpgradeChannel: \"stable\",\n frontendPublic: {\n ipAddresses: [examplePublicIp.id],\n },\n networkInterfaces: [{\n subnetId: exampleSubnet.id,\n }],\n capacity: 20,\n email: \"user@test.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_public_ip = azure.network.PublicIp(\"example\",\n name=\"example\",\n resource_group_name=example.name,\n location=example.location,\n allocation_method=\"Static\",\n sku=\"Standard\",\n tags={\n \"environment\": \"Production\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.2.0/24\"],\n delegations=[{\n \"name\": \"delegation\",\n \"service_delegation\": {\n \"name\": \"NGINX.NGINXPLUS/nginxDeployments\",\n \"actions\": [\"Microsoft.Network/virtualNetworks/subnets/join/action\"],\n },\n }])\nexample_deployment = azure.nginx.Deployment(\"example\",\n name=\"example-nginx\",\n resource_group_name=example.name,\n sku=\"standardv2_Monthly\",\n location=example.location,\n diagnose_support_enabled=True,\n automatic_upgrade_channel=\"stable\",\n frontend_public={\n \"ip_addresses\": [example_public_ip.id],\n },\n network_interfaces=[{\n \"subnet_id\": example_subnet.id,\n }],\n capacity=20,\n email=\"user@test.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var examplePublicIp = new Azure.Network.PublicIp(\"example\", new()\n {\n Name = \"example\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AllocationMethod = \"Static\",\n Sku = \"Standard\",\n Tags = \n {\n { \"environment\", \"Production\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.2.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"delegation\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"NGINX.NGINXPLUS/nginxDeployments\",\n Actions = new[]\n {\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n },\n },\n },\n },\n });\n\n var exampleDeployment = new Azure.Nginx.Deployment(\"example\", new()\n {\n Name = \"example-nginx\",\n ResourceGroupName = example.Name,\n Sku = \"standardv2_Monthly\",\n Location = example.Location,\n DiagnoseSupportEnabled = true,\n AutomaticUpgradeChannel = \"stable\",\n FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs\n {\n IpAddresses = new[]\n {\n examplePublicIp.Id,\n },\n },\n NetworkInterfaces = new[]\n {\n new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs\n {\n SubnetId = exampleSubnet.Id,\n },\n },\n Capacity = 20,\n Email = \"user@test.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/nginx\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePublicIp, err := network.NewPublicIp(ctx, \"example\", \u0026network.PublicIpArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAllocationMethod: pulumi.String(\"Static\"),\n\t\t\tSku: pulumi.String(\"Standard\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.2.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"delegation\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"NGINX.NGINXPLUS/nginxDeployments\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = nginx.NewDeployment(ctx, \"example\", \u0026nginx.DeploymentArgs{\n\t\t\tName: pulumi.String(\"example-nginx\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"standardv2_Monthly\"),\n\t\t\tLocation: example.Location,\n\t\t\tDiagnoseSupportEnabled: pulumi.Bool(true),\n\t\t\tAutomaticUpgradeChannel: pulumi.String(\"stable\"),\n\t\t\tFrontendPublic: \u0026nginx.DeploymentFrontendPublicArgs{\n\t\t\t\tIpAddresses: pulumi.StringArray{\n\t\t\t\t\texamplePublicIp.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{\n\t\t\t\t\u0026nginx.DeploymentNetworkInterfaceArgs{\n\t\t\t\t\tSubnetId: exampleSubnet.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tCapacity: pulumi.Int(20),\n\t\t\tEmail: pulumi.String(\"user@test.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.PublicIp;\nimport com.pulumi.azure.network.PublicIpArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.nginx.Deployment;\nimport com.pulumi.azure.nginx.DeploymentArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentFrontendPublicArgs;\nimport com.pulumi.azure.nginx.inputs.DeploymentNetworkInterfaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var examplePublicIp = new PublicIp(\"examplePublicIp\", PublicIpArgs.builder()\n .name(\"example\")\n .resourceGroupName(example.name())\n .location(example.location())\n .allocationMethod(\"Static\")\n .sku(\"Standard\")\n .tags(Map.of(\"environment\", \"Production\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.2.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"delegation\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"NGINX.NGINXPLUS/nginxDeployments\")\n .actions(\"Microsoft.Network/virtualNetworks/subnets/join/action\")\n .build())\n .build())\n .build());\n\n var exampleDeployment = new Deployment(\"exampleDeployment\", DeploymentArgs.builder()\n .name(\"example-nginx\")\n .resourceGroupName(example.name())\n .sku(\"standardv2_Monthly\")\n .location(example.location())\n .diagnoseSupportEnabled(true)\n .automaticUpgradeChannel(\"stable\")\n .frontendPublic(DeploymentFrontendPublicArgs.builder()\n .ipAddresses(examplePublicIp.id())\n .build())\n .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()\n .subnetId(exampleSubnet.id())\n .build())\n .capacity(20)\n .email(\"user@test.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n examplePublicIp:\n type: azure:network:PublicIp\n name: example\n properties:\n name: example\n resourceGroupName: ${example.name}\n location: ${example.location}\n allocationMethod: Static\n sku: Standard\n tags:\n environment: Production\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.2.0/24\n delegations:\n - name: delegation\n serviceDelegation:\n name: NGINX.NGINXPLUS/nginxDeployments\n actions:\n - Microsoft.Network/virtualNetworks/subnets/join/action\n exampleDeployment:\n type: azure:nginx:Deployment\n name: example\n properties:\n name: example-nginx\n resourceGroupName: ${example.name}\n sku: standardv2_Monthly\n location: ${example.location}\n diagnoseSupportEnabled: true\n automaticUpgradeChannel: stable\n frontendPublic:\n ipAddresses:\n - ${examplePublicIp.id}\n networkInterfaces:\n - subnetId: ${exampleSubnet.id}\n capacity: 20\n email: user@test.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nNGINX Deployments can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:nginx/deployment:Deployment example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1\n```\n\n", "properties": { "autoScaleProfiles": { "type": "array", @@ -233929,7 +234127,7 @@ }, "managedResourceGroup": { "type": "string", - "description": "Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created.\n" + "deprecationMessage": "The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider." }, "name": { "type": "string", @@ -234025,8 +234223,7 @@ }, "managedResourceGroup": { "type": "string", - "description": "Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created.\n", - "willReplaceOnChanges": true + "deprecationMessage": "The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider." }, "name": { "type": "string", @@ -234122,8 +234319,7 @@ }, "managedResourceGroup": { "type": "string", - "description": "Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created.\n", - "willReplaceOnChanges": true + "deprecationMessage": "The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider." }, "name": { "type": "string", @@ -236240,7 +236436,7 @@ } }, "azure:orbital/contact:Contact": { - "description": "Manages an orbital contact.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleSpacecraft = new azure.orbital.Spacecraft(\"example\", {\n name: \"example-spacecraft\",\n resourceGroupName: example.name,\n location: \"westeurope\",\n noradId: \"12345\",\n links: [{\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n direction: \"Uplink\",\n polarization: \"LHCP\",\n name: \"examplename\",\n }],\n twoLineElements: [\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n titleLine: \"AQUA\",\n tags: {\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.1.0/24\"],\n delegations: [{\n name: \"orbitalgateway\",\n serviceDelegation: {\n name: \"Microsoft.Orbital/orbitalGateways\",\n actions: [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }],\n});\nconst exampleContactProfile = new azure.orbital.ContactProfile(\"example\", {\n name: \"example-contactprofile\",\n resourceGroupName: example.name,\n location: example.location,\n minimumVariableContactDuration: \"PT1M\",\n autoTracking: \"disabled\",\n links: [{\n channels: [{\n name: \"channelname\",\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n endPoints: [{\n endPointName: \"AQUA_command\",\n ipAddress: \"10.0.1.0\",\n port: \"49153\",\n protocol: \"TCP\",\n }],\n }],\n direction: \"Uplink\",\n name: \"RHCP_UL\",\n polarization: \"RHCP\",\n }],\n networkConfigurationSubnetId: exampleSubnet.id,\n});\nconst exampleContact = new azure.orbital.Contact(\"example\", {\n name: \"example-contact\",\n spacecraftId: exampleSpacecraft.id,\n reservationStartTime: \"2020-07-16T20:35:00.00Z\",\n reservationEndTime: \"2020-07-16T20:55:00.00Z\",\n groundStationName: \"WESTUS2_0\",\n contactProfileId: exampleContactProfile.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_spacecraft = azure.orbital.Spacecraft(\"example\",\n name=\"example-spacecraft\",\n resource_group_name=example.name,\n location=\"westeurope\",\n norad_id=\"12345\",\n links=[{\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"direction\": \"Uplink\",\n \"polarization\": \"LHCP\",\n \"name\": \"examplename\",\n }],\n two_line_elements=[\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n title_line=\"AQUA\",\n tags={\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.1.0/24\"],\n delegations=[{\n \"name\": \"orbitalgateway\",\n \"service_delegation\": {\n \"name\": \"Microsoft.Orbital/orbitalGateways\",\n \"actions\": [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }])\nexample_contact_profile = azure.orbital.ContactProfile(\"example\",\n name=\"example-contactprofile\",\n resource_group_name=example.name,\n location=example.location,\n minimum_variable_contact_duration=\"PT1M\",\n auto_tracking=\"disabled\",\n links=[{\n \"channels\": [{\n \"name\": \"channelname\",\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"end_points\": [{\n \"end_point_name\": \"AQUA_command\",\n \"ip_address\": \"10.0.1.0\",\n \"port\": \"49153\",\n \"protocol\": \"TCP\",\n }],\n }],\n \"direction\": \"Uplink\",\n \"name\": \"RHCP_UL\",\n \"polarization\": \"RHCP\",\n }],\n network_configuration_subnet_id=example_subnet.id)\nexample_contact = azure.orbital.Contact(\"example\",\n name=\"example-contact\",\n spacecraft_id=example_spacecraft.id,\n reservation_start_time=\"2020-07-16T20:35:00.00Z\",\n reservation_end_time=\"2020-07-16T20:55:00.00Z\",\n ground_station_name=\"WESTUS2_0\",\n contact_profile_id=example_contact_profile.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleSpacecraft = new Azure.Orbital.Spacecraft(\"example\", new()\n {\n Name = \"example-spacecraft\",\n ResourceGroupName = example.Name,\n Location = \"westeurope\",\n NoradId = \"12345\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.SpacecraftLinkArgs\n {\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n Direction = \"Uplink\",\n Polarization = \"LHCP\",\n Name = \"examplename\",\n },\n },\n TwoLineElements = new[]\n {\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n },\n TitleLine = \"AQUA\",\n Tags = \n {\n { \"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.1.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"orbitalgateway\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"Microsoft.Orbital/orbitalGateways\",\n Actions = new[]\n {\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n },\n },\n },\n },\n });\n\n var exampleContactProfile = new Azure.Orbital.ContactProfile(\"example\", new()\n {\n Name = \"example-contactprofile\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n MinimumVariableContactDuration = \"PT1M\",\n AutoTracking = \"disabled\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkArgs\n {\n Channels = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelArgs\n {\n Name = \"channelname\",\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n EndPoints = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelEndPointArgs\n {\n EndPointName = \"AQUA_command\",\n IpAddress = \"10.0.1.0\",\n Port = \"49153\",\n Protocol = \"TCP\",\n },\n },\n },\n },\n Direction = \"Uplink\",\n Name = \"RHCP_UL\",\n Polarization = \"RHCP\",\n },\n },\n NetworkConfigurationSubnetId = exampleSubnet.Id,\n });\n\n var exampleContact = new Azure.Orbital.Contact(\"example\", new()\n {\n Name = \"example-contact\",\n SpacecraftId = exampleSpacecraft.Id,\n ReservationStartTime = \"2020-07-16T20:35:00.00Z\",\n ReservationEndTime = \"2020-07-16T20:55:00.00Z\",\n GroundStationName = \"WESTUS2_0\",\n ContactProfileId = exampleContactProfile.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSpacecraft, err := orbital.NewSpacecraft(ctx, \"example\", \u0026orbital.SpacecraftArgs{\n\t\t\tName: pulumi.String(\"example-spacecraft\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: pulumi.String(\"westeurope\"),\n\t\t\tNoradId: pulumi.String(\"12345\"),\n\t\t\tLinks: orbital.SpacecraftLinkArray{\n\t\t\t\t\u0026orbital.SpacecraftLinkArgs{\n\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tPolarization: pulumi.String(\"LHCP\"),\n\t\t\t\t\tName: pulumi.String(\"examplename\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTwoLineElements: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\"),\n\t\t\t\tpulumi.String(\"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\"),\n\t\t\t},\n\t\t\tTitleLine: pulumi.String(\"AQUA\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"aks-managed-cluster-name\": pulumi.String(\"9a57225d-a405-4d40-aa46-f13d2342abef\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.1.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"orbitalgateway\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"Microsoft.Orbital/orbitalGateways\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/read\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/read\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleContactProfile, err := orbital.NewContactProfile(ctx, \"example\", \u0026orbital.ContactProfileArgs{\n\t\t\tName: pulumi.String(\"example-contactprofile\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tMinimumVariableContactDuration: pulumi.String(\"PT1M\"),\n\t\t\tAutoTracking: pulumi.String(\"disabled\"),\n\t\t\tLinks: orbital.ContactProfileLinkArray{\n\t\t\t\t\u0026orbital.ContactProfileLinkArgs{\n\t\t\t\t\tChannels: orbital.ContactProfileLinkChannelArray{\n\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"channelname\"),\n\t\t\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\t\t\tEndPoints: orbital.ContactProfileLinkChannelEndPointArray{\n\t\t\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelEndPointArgs{\n\t\t\t\t\t\t\t\t\tEndPointName: pulumi.String(\"AQUA_command\"),\n\t\t\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.0\"),\n\t\t\t\t\t\t\t\t\tPort: pulumi.String(\"49153\"),\n\t\t\t\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tName: pulumi.String(\"RHCP_UL\"),\n\t\t\t\t\tPolarization: pulumi.String(\"RHCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkConfigurationSubnetId: exampleSubnet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewContact(ctx, \"example\", \u0026orbital.ContactArgs{\n\t\t\tName: pulumi.String(\"example-contact\"),\n\t\t\tSpacecraftId: exampleSpacecraft.ID(),\n\t\t\tReservationStartTime: pulumi.String(\"2020-07-16T20:35:00.00Z\"),\n\t\t\tReservationEndTime: pulumi.String(\"2020-07-16T20:55:00.00Z\"),\n\t\t\tGroundStationName: pulumi.String(\"WESTUS2_0\"),\n\t\t\tContactProfileId: exampleContactProfile.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.orbital.Spacecraft;\nimport com.pulumi.azure.orbital.SpacecraftArgs;\nimport com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.orbital.ContactProfile;\nimport com.pulumi.azure.orbital.ContactProfileArgs;\nimport com.pulumi.azure.orbital.inputs.ContactProfileLinkArgs;\nimport com.pulumi.azure.orbital.Contact;\nimport com.pulumi.azure.orbital.ContactArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleSpacecraft = new Spacecraft(\"exampleSpacecraft\", SpacecraftArgs.builder()\n .name(\"example-spacecraft\")\n .resourceGroupName(example.name())\n .location(\"westeurope\")\n .noradId(\"12345\")\n .links(SpacecraftLinkArgs.builder()\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .direction(\"Uplink\")\n .polarization(\"LHCP\")\n .name(\"examplename\")\n .build())\n .twoLineElements( \n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\")\n .titleLine(\"AQUA\")\n .tags(Map.of(\"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.1.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"orbitalgateway\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"Microsoft.Orbital/orbitalGateways\")\n .actions( \n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\")\n .build())\n .build())\n .build());\n\n var exampleContactProfile = new ContactProfile(\"exampleContactProfile\", ContactProfileArgs.builder()\n .name(\"example-contactprofile\")\n .resourceGroupName(example.name())\n .location(example.location())\n .minimumVariableContactDuration(\"PT1M\")\n .autoTracking(\"disabled\")\n .links(ContactProfileLinkArgs.builder()\n .channels(ContactProfileLinkChannelArgs.builder()\n .name(\"channelname\")\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .endPoints(ContactProfileLinkChannelEndPointArgs.builder()\n .endPointName(\"AQUA_command\")\n .ipAddress(\"10.0.1.0\")\n .port(\"49153\")\n .protocol(\"TCP\")\n .build())\n .build())\n .direction(\"Uplink\")\n .name(\"RHCP_UL\")\n .polarization(\"RHCP\")\n .build())\n .networkConfigurationSubnetId(exampleSubnet.id())\n .build());\n\n var exampleContact = new Contact(\"exampleContact\", ContactArgs.builder()\n .name(\"example-contact\")\n .spacecraftId(exampleSpacecraft.id())\n .reservationStartTime(\"2020-07-16T20:35:00.00Z\")\n .reservationEndTime(\"2020-07-16T20:55:00.00Z\")\n .groundStationName(\"WESTUS2_0\")\n .contactProfileId(exampleContactProfile.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleSpacecraft:\n type: azure:orbital:Spacecraft\n name: example\n properties:\n name: example-spacecraft\n resourceGroupName: ${example.name}\n location: westeurope\n noradId: '12345'\n links:\n - bandwidthMhz: 100\n centerFrequencyMhz: 101\n direction: Uplink\n polarization: LHCP\n name: examplename\n twoLineElements:\n - 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\n - 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\n titleLine: AQUA\n tags:\n aks-managed-cluster-name: 9a57225d-a405-4d40-aa46-f13d2342abef\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.1.0/24\n delegations:\n - name: orbitalgateway\n serviceDelegation:\n name: Microsoft.Orbital/orbitalGateways\n actions:\n - Microsoft.Network/publicIPAddresses/join/action\n - Microsoft.Network/virtualNetworks/subnets/join/action\n - Microsoft.Network/virtualNetworks/read\n - Microsoft.Network/publicIPAddresses/read\n exampleContactProfile:\n type: azure:orbital:ContactProfile\n name: example\n properties:\n name: example-contactprofile\n resourceGroupName: ${example.name}\n location: ${example.location}\n minimumVariableContactDuration: PT1M\n autoTracking: disabled\n links:\n - channels:\n - name: channelname\n bandwidthMhz: 100\n centerFrequencyMhz: 101\n endPoints:\n - endPointName: AQUA_command\n ipAddress: 10.0.1.0\n port: '49153'\n protocol: TCP\n direction: Uplink\n name: RHCP_UL\n polarization: RHCP\n networkConfigurationSubnetId: ${exampleSubnet.id}\n exampleContact:\n type: azure:orbital:Contact\n name: example\n properties:\n name: example-contact\n spacecraftId: ${exampleSpacecraft.id}\n reservationStartTime: 2020-07-16T20:35:00.00Z\n reservationEndTime: 2020-07-16T20:55:00.00Z\n groundStationName: WESTUS2_0\n contactProfileId: ${exampleContactProfile.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSpacecraft can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/contact:Contact example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1/contacts/contact1\n```\n\n", + "description": "Manages an orbital contact.\n\n\u003e **Note:** The `azure.orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleSpacecraft = new azure.orbital.Spacecraft(\"example\", {\n name: \"example-spacecraft\",\n resourceGroupName: example.name,\n location: \"westeurope\",\n noradId: \"12345\",\n links: [{\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n direction: \"Uplink\",\n polarization: \"LHCP\",\n name: \"examplename\",\n }],\n twoLineElements: [\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n titleLine: \"AQUA\",\n tags: {\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n },\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"example-vnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"example-subnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.1.0/24\"],\n delegations: [{\n name: \"orbitalgateway\",\n serviceDelegation: {\n name: \"Microsoft.Orbital/orbitalGateways\",\n actions: [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }],\n});\nconst exampleContactProfile = new azure.orbital.ContactProfile(\"example\", {\n name: \"example-contactprofile\",\n resourceGroupName: example.name,\n location: example.location,\n minimumVariableContactDuration: \"PT1M\",\n autoTracking: \"disabled\",\n links: [{\n channels: [{\n name: \"channelname\",\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n endPoints: [{\n endPointName: \"AQUA_command\",\n ipAddress: \"10.0.1.0\",\n port: \"49153\",\n protocol: \"TCP\",\n }],\n }],\n direction: \"Uplink\",\n name: \"RHCP_UL\",\n polarization: \"RHCP\",\n }],\n networkConfigurationSubnetId: exampleSubnet.id,\n});\nconst exampleContact = new azure.orbital.Contact(\"example\", {\n name: \"example-contact\",\n spacecraftId: exampleSpacecraft.id,\n reservationStartTime: \"2020-07-16T20:35:00.00Z\",\n reservationEndTime: \"2020-07-16T20:55:00.00Z\",\n groundStationName: \"WESTUS2_0\",\n contactProfileId: exampleContactProfile.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_spacecraft = azure.orbital.Spacecraft(\"example\",\n name=\"example-spacecraft\",\n resource_group_name=example.name,\n location=\"westeurope\",\n norad_id=\"12345\",\n links=[{\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"direction\": \"Uplink\",\n \"polarization\": \"LHCP\",\n \"name\": \"examplename\",\n }],\n two_line_elements=[\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n title_line=\"AQUA\",\n tags={\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n })\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"example-vnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"example-subnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.1.0/24\"],\n delegations=[{\n \"name\": \"orbitalgateway\",\n \"service_delegation\": {\n \"name\": \"Microsoft.Orbital/orbitalGateways\",\n \"actions\": [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }])\nexample_contact_profile = azure.orbital.ContactProfile(\"example\",\n name=\"example-contactprofile\",\n resource_group_name=example.name,\n location=example.location,\n minimum_variable_contact_duration=\"PT1M\",\n auto_tracking=\"disabled\",\n links=[{\n \"channels\": [{\n \"name\": \"channelname\",\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"end_points\": [{\n \"end_point_name\": \"AQUA_command\",\n \"ip_address\": \"10.0.1.0\",\n \"port\": \"49153\",\n \"protocol\": \"TCP\",\n }],\n }],\n \"direction\": \"Uplink\",\n \"name\": \"RHCP_UL\",\n \"polarization\": \"RHCP\",\n }],\n network_configuration_subnet_id=example_subnet.id)\nexample_contact = azure.orbital.Contact(\"example\",\n name=\"example-contact\",\n spacecraft_id=example_spacecraft.id,\n reservation_start_time=\"2020-07-16T20:35:00.00Z\",\n reservation_end_time=\"2020-07-16T20:55:00.00Z\",\n ground_station_name=\"WESTUS2_0\",\n contact_profile_id=example_contact_profile.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleSpacecraft = new Azure.Orbital.Spacecraft(\"example\", new()\n {\n Name = \"example-spacecraft\",\n ResourceGroupName = example.Name,\n Location = \"westeurope\",\n NoradId = \"12345\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.SpacecraftLinkArgs\n {\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n Direction = \"Uplink\",\n Polarization = \"LHCP\",\n Name = \"examplename\",\n },\n },\n TwoLineElements = new[]\n {\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n },\n TitleLine = \"AQUA\",\n Tags = \n {\n { \"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\" },\n },\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"example-vnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"example-subnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.1.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"orbitalgateway\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"Microsoft.Orbital/orbitalGateways\",\n Actions = new[]\n {\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n },\n },\n },\n },\n });\n\n var exampleContactProfile = new Azure.Orbital.ContactProfile(\"example\", new()\n {\n Name = \"example-contactprofile\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n MinimumVariableContactDuration = \"PT1M\",\n AutoTracking = \"disabled\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkArgs\n {\n Channels = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelArgs\n {\n Name = \"channelname\",\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n EndPoints = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelEndPointArgs\n {\n EndPointName = \"AQUA_command\",\n IpAddress = \"10.0.1.0\",\n Port = \"49153\",\n Protocol = \"TCP\",\n },\n },\n },\n },\n Direction = \"Uplink\",\n Name = \"RHCP_UL\",\n Polarization = \"RHCP\",\n },\n },\n NetworkConfigurationSubnetId = exampleSubnet.Id,\n });\n\n var exampleContact = new Azure.Orbital.Contact(\"example\", new()\n {\n Name = \"example-contact\",\n SpacecraftId = exampleSpacecraft.Id,\n ReservationStartTime = \"2020-07-16T20:35:00.00Z\",\n ReservationEndTime = \"2020-07-16T20:55:00.00Z\",\n GroundStationName = \"WESTUS2_0\",\n ContactProfileId = exampleContactProfile.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSpacecraft, err := orbital.NewSpacecraft(ctx, \"example\", \u0026orbital.SpacecraftArgs{\n\t\t\tName: pulumi.String(\"example-spacecraft\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: pulumi.String(\"westeurope\"),\n\t\t\tNoradId: pulumi.String(\"12345\"),\n\t\t\tLinks: orbital.SpacecraftLinkArray{\n\t\t\t\t\u0026orbital.SpacecraftLinkArgs{\n\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tPolarization: pulumi.String(\"LHCP\"),\n\t\t\t\t\tName: pulumi.String(\"examplename\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTwoLineElements: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\"),\n\t\t\t\tpulumi.String(\"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\"),\n\t\t\t},\n\t\t\tTitleLine: pulumi.String(\"AQUA\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"aks-managed-cluster-name\": pulumi.String(\"9a57225d-a405-4d40-aa46-f13d2342abef\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"example-vnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"example-subnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.1.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"orbitalgateway\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"Microsoft.Orbital/orbitalGateways\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/read\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/read\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleContactProfile, err := orbital.NewContactProfile(ctx, \"example\", \u0026orbital.ContactProfileArgs{\n\t\t\tName: pulumi.String(\"example-contactprofile\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tMinimumVariableContactDuration: pulumi.String(\"PT1M\"),\n\t\t\tAutoTracking: pulumi.String(\"disabled\"),\n\t\t\tLinks: orbital.ContactProfileLinkArray{\n\t\t\t\t\u0026orbital.ContactProfileLinkArgs{\n\t\t\t\t\tChannels: orbital.ContactProfileLinkChannelArray{\n\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"channelname\"),\n\t\t\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\t\t\tEndPoints: orbital.ContactProfileLinkChannelEndPointArray{\n\t\t\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelEndPointArgs{\n\t\t\t\t\t\t\t\t\tEndPointName: pulumi.String(\"AQUA_command\"),\n\t\t\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.0\"),\n\t\t\t\t\t\t\t\t\tPort: pulumi.String(\"49153\"),\n\t\t\t\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tName: pulumi.String(\"RHCP_UL\"),\n\t\t\t\t\tPolarization: pulumi.String(\"RHCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkConfigurationSubnetId: exampleSubnet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewContact(ctx, \"example\", \u0026orbital.ContactArgs{\n\t\t\tName: pulumi.String(\"example-contact\"),\n\t\t\tSpacecraftId: exampleSpacecraft.ID(),\n\t\t\tReservationStartTime: pulumi.String(\"2020-07-16T20:35:00.00Z\"),\n\t\t\tReservationEndTime: pulumi.String(\"2020-07-16T20:55:00.00Z\"),\n\t\t\tGroundStationName: pulumi.String(\"WESTUS2_0\"),\n\t\t\tContactProfileId: exampleContactProfile.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.orbital.Spacecraft;\nimport com.pulumi.azure.orbital.SpacecraftArgs;\nimport com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.orbital.ContactProfile;\nimport com.pulumi.azure.orbital.ContactProfileArgs;\nimport com.pulumi.azure.orbital.inputs.ContactProfileLinkArgs;\nimport com.pulumi.azure.orbital.Contact;\nimport com.pulumi.azure.orbital.ContactArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleSpacecraft = new Spacecraft(\"exampleSpacecraft\", SpacecraftArgs.builder()\n .name(\"example-spacecraft\")\n .resourceGroupName(example.name())\n .location(\"westeurope\")\n .noradId(\"12345\")\n .links(SpacecraftLinkArgs.builder()\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .direction(\"Uplink\")\n .polarization(\"LHCP\")\n .name(\"examplename\")\n .build())\n .twoLineElements( \n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\")\n .titleLine(\"AQUA\")\n .tags(Map.of(\"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\"))\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"example-vnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"example-subnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.1.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"orbitalgateway\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"Microsoft.Orbital/orbitalGateways\")\n .actions( \n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\")\n .build())\n .build())\n .build());\n\n var exampleContactProfile = new ContactProfile(\"exampleContactProfile\", ContactProfileArgs.builder()\n .name(\"example-contactprofile\")\n .resourceGroupName(example.name())\n .location(example.location())\n .minimumVariableContactDuration(\"PT1M\")\n .autoTracking(\"disabled\")\n .links(ContactProfileLinkArgs.builder()\n .channels(ContactProfileLinkChannelArgs.builder()\n .name(\"channelname\")\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .endPoints(ContactProfileLinkChannelEndPointArgs.builder()\n .endPointName(\"AQUA_command\")\n .ipAddress(\"10.0.1.0\")\n .port(\"49153\")\n .protocol(\"TCP\")\n .build())\n .build())\n .direction(\"Uplink\")\n .name(\"RHCP_UL\")\n .polarization(\"RHCP\")\n .build())\n .networkConfigurationSubnetId(exampleSubnet.id())\n .build());\n\n var exampleContact = new Contact(\"exampleContact\", ContactArgs.builder()\n .name(\"example-contact\")\n .spacecraftId(exampleSpacecraft.id())\n .reservationStartTime(\"2020-07-16T20:35:00.00Z\")\n .reservationEndTime(\"2020-07-16T20:55:00.00Z\")\n .groundStationName(\"WESTUS2_0\")\n .contactProfileId(exampleContactProfile.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleSpacecraft:\n type: azure:orbital:Spacecraft\n name: example\n properties:\n name: example-spacecraft\n resourceGroupName: ${example.name}\n location: westeurope\n noradId: '12345'\n links:\n - bandwidthMhz: 100\n centerFrequencyMhz: 101\n direction: Uplink\n polarization: LHCP\n name: examplename\n twoLineElements:\n - 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\n - 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\n titleLine: AQUA\n tags:\n aks-managed-cluster-name: 9a57225d-a405-4d40-aa46-f13d2342abef\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: example-vnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: example-subnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.1.0/24\n delegations:\n - name: orbitalgateway\n serviceDelegation:\n name: Microsoft.Orbital/orbitalGateways\n actions:\n - Microsoft.Network/publicIPAddresses/join/action\n - Microsoft.Network/virtualNetworks/subnets/join/action\n - Microsoft.Network/virtualNetworks/read\n - Microsoft.Network/publicIPAddresses/read\n exampleContactProfile:\n type: azure:orbital:ContactProfile\n name: example\n properties:\n name: example-contactprofile\n resourceGroupName: ${example.name}\n location: ${example.location}\n minimumVariableContactDuration: PT1M\n autoTracking: disabled\n links:\n - channels:\n - name: channelname\n bandwidthMhz: 100\n centerFrequencyMhz: 101\n endPoints:\n - endPointName: AQUA_command\n ipAddress: 10.0.1.0\n port: '49153'\n protocol: TCP\n direction: Uplink\n name: RHCP_UL\n polarization: RHCP\n networkConfigurationSubnetId: ${exampleSubnet.id}\n exampleContact:\n type: azure:orbital:Contact\n name: example\n properties:\n name: example-contact\n spacecraftId: ${exampleSpacecraft.id}\n reservationStartTime: 2020-07-16T20:35:00.00Z\n reservationEndTime: 2020-07-16T20:55:00.00Z\n groundStationName: WESTUS2_0\n contactProfileId: ${exampleContactProfile.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSpacecraft can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/contact:Contact example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1/contacts/contact1\n```\n\n", "properties": { "contactProfileId": { "type": "string", @@ -236352,7 +236548,7 @@ } }, "azure:orbital/contactProfile:ContactProfile": { - "description": "Manages a Contact profile.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"testvnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"testsubnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.1.0/24\"],\n delegations: [{\n name: \"orbitalgateway\",\n serviceDelegation: {\n name: \"Microsoft.Orbital/orbitalGateways\",\n actions: [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }],\n});\nconst exampleContactProfile = new azure.orbital.ContactProfile(\"example\", {\n name: \"example-contact-profile\",\n resourceGroupName: example.name,\n location: example.location,\n minimumVariableContactDuration: \"PT1M\",\n autoTracking: \"disabled\",\n links: [{\n channels: [{\n name: \"channelname\",\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n endPoints: [{\n endPointName: \"AQUA_command\",\n ipAddress: \"10.0.1.0\",\n port: \"49513\",\n protocol: \"TCP\",\n }],\n }],\n direction: \"Uplink\",\n name: \"RHCP_UL\",\n polarization: \"RHCP\",\n }],\n networkConfigurationSubnetId: exampleSubnet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"testvnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"testsubnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.1.0/24\"],\n delegations=[{\n \"name\": \"orbitalgateway\",\n \"service_delegation\": {\n \"name\": \"Microsoft.Orbital/orbitalGateways\",\n \"actions\": [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }])\nexample_contact_profile = azure.orbital.ContactProfile(\"example\",\n name=\"example-contact-profile\",\n resource_group_name=example.name,\n location=example.location,\n minimum_variable_contact_duration=\"PT1M\",\n auto_tracking=\"disabled\",\n links=[{\n \"channels\": [{\n \"name\": \"channelname\",\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"end_points\": [{\n \"end_point_name\": \"AQUA_command\",\n \"ip_address\": \"10.0.1.0\",\n \"port\": \"49513\",\n \"protocol\": \"TCP\",\n }],\n }],\n \"direction\": \"Uplink\",\n \"name\": \"RHCP_UL\",\n \"polarization\": \"RHCP\",\n }],\n network_configuration_subnet_id=example_subnet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"testvnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"testsubnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.1.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"orbitalgateway\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"Microsoft.Orbital/orbitalGateways\",\n Actions = new[]\n {\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n },\n },\n },\n },\n });\n\n var exampleContactProfile = new Azure.Orbital.ContactProfile(\"example\", new()\n {\n Name = \"example-contact-profile\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n MinimumVariableContactDuration = \"PT1M\",\n AutoTracking = \"disabled\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkArgs\n {\n Channels = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelArgs\n {\n Name = \"channelname\",\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n EndPoints = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelEndPointArgs\n {\n EndPointName = \"AQUA_command\",\n IpAddress = \"10.0.1.0\",\n Port = \"49513\",\n Protocol = \"TCP\",\n },\n },\n },\n },\n Direction = \"Uplink\",\n Name = \"RHCP_UL\",\n Polarization = \"RHCP\",\n },\n },\n NetworkConfigurationSubnetId = exampleSubnet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"testvnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"testsubnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.1.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"orbitalgateway\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"Microsoft.Orbital/orbitalGateways\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/read\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/read\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewContactProfile(ctx, \"example\", \u0026orbital.ContactProfileArgs{\n\t\t\tName: pulumi.String(\"example-contact-profile\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tMinimumVariableContactDuration: pulumi.String(\"PT1M\"),\n\t\t\tAutoTracking: pulumi.String(\"disabled\"),\n\t\t\tLinks: orbital.ContactProfileLinkArray{\n\t\t\t\t\u0026orbital.ContactProfileLinkArgs{\n\t\t\t\t\tChannels: orbital.ContactProfileLinkChannelArray{\n\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"channelname\"),\n\t\t\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\t\t\tEndPoints: orbital.ContactProfileLinkChannelEndPointArray{\n\t\t\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelEndPointArgs{\n\t\t\t\t\t\t\t\t\tEndPointName: pulumi.String(\"AQUA_command\"),\n\t\t\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.0\"),\n\t\t\t\t\t\t\t\t\tPort: pulumi.String(\"49513\"),\n\t\t\t\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tName: pulumi.String(\"RHCP_UL\"),\n\t\t\t\t\tPolarization: pulumi.String(\"RHCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkConfigurationSubnetId: exampleSubnet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.orbital.ContactProfile;\nimport com.pulumi.azure.orbital.ContactProfileArgs;\nimport com.pulumi.azure.orbital.inputs.ContactProfileLinkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"testvnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"testsubnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.1.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"orbitalgateway\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"Microsoft.Orbital/orbitalGateways\")\n .actions( \n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\")\n .build())\n .build())\n .build());\n\n var exampleContactProfile = new ContactProfile(\"exampleContactProfile\", ContactProfileArgs.builder()\n .name(\"example-contact-profile\")\n .resourceGroupName(example.name())\n .location(example.location())\n .minimumVariableContactDuration(\"PT1M\")\n .autoTracking(\"disabled\")\n .links(ContactProfileLinkArgs.builder()\n .channels(ContactProfileLinkChannelArgs.builder()\n .name(\"channelname\")\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .endPoints(ContactProfileLinkChannelEndPointArgs.builder()\n .endPointName(\"AQUA_command\")\n .ipAddress(\"10.0.1.0\")\n .port(\"49513\")\n .protocol(\"TCP\")\n .build())\n .build())\n .direction(\"Uplink\")\n .name(\"RHCP_UL\")\n .polarization(\"RHCP\")\n .build())\n .networkConfigurationSubnetId(exampleSubnet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: testvnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: testsubnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.1.0/24\n delegations:\n - name: orbitalgateway\n serviceDelegation:\n name: Microsoft.Orbital/orbitalGateways\n actions:\n - Microsoft.Network/publicIPAddresses/join/action\n - Microsoft.Network/virtualNetworks/subnets/join/action\n - Microsoft.Network/virtualNetworks/read\n - Microsoft.Network/publicIPAddresses/read\n exampleContactProfile:\n type: azure:orbital:ContactProfile\n name: example\n properties:\n name: example-contact-profile\n resourceGroupName: ${example.name}\n location: ${example.location}\n minimumVariableContactDuration: PT1M\n autoTracking: disabled\n links:\n - channels:\n - name: channelname\n bandwidthMhz: 100\n centerFrequencyMhz: 101\n endPoints:\n - endPointName: AQUA_command\n ipAddress: 10.0.1.0\n port: '49513'\n protocol: TCP\n direction: Uplink\n name: RHCP_UL\n polarization: RHCP\n networkConfigurationSubnetId: ${exampleSubnet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nContact profile can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/contactProfile:ContactProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/contactProfiles/contactProfile1\n```\n\n", + "description": "Manages a Contact profile.\n\n\u003e **Note:** The `azure.orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleVirtualNetwork = new azure.network.VirtualNetwork(\"example\", {\n name: \"testvnet\",\n addressSpaces: [\"10.0.0.0/16\"],\n location: example.location,\n resourceGroupName: example.name,\n});\nconst exampleSubnet = new azure.network.Subnet(\"example\", {\n name: \"testsubnet\",\n resourceGroupName: example.name,\n virtualNetworkName: exampleVirtualNetwork.name,\n addressPrefixes: [\"10.0.1.0/24\"],\n delegations: [{\n name: \"orbitalgateway\",\n serviceDelegation: {\n name: \"Microsoft.Orbital/orbitalGateways\",\n actions: [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }],\n});\nconst exampleContactProfile = new azure.orbital.ContactProfile(\"example\", {\n name: \"example-contact-profile\",\n resourceGroupName: example.name,\n location: example.location,\n minimumVariableContactDuration: \"PT1M\",\n autoTracking: \"disabled\",\n links: [{\n channels: [{\n name: \"channelname\",\n bandwidthMhz: 100,\n centerFrequencyMhz: 101,\n endPoints: [{\n endPointName: \"AQUA_command\",\n ipAddress: \"10.0.1.0\",\n port: \"49513\",\n protocol: \"TCP\",\n }],\n }],\n direction: \"Uplink\",\n name: \"RHCP_UL\",\n polarization: \"RHCP\",\n }],\n networkConfigurationSubnetId: exampleSubnet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_virtual_network = azure.network.VirtualNetwork(\"example\",\n name=\"testvnet\",\n address_spaces=[\"10.0.0.0/16\"],\n location=example.location,\n resource_group_name=example.name)\nexample_subnet = azure.network.Subnet(\"example\",\n name=\"testsubnet\",\n resource_group_name=example.name,\n virtual_network_name=example_virtual_network.name,\n address_prefixes=[\"10.0.1.0/24\"],\n delegations=[{\n \"name\": \"orbitalgateway\",\n \"service_delegation\": {\n \"name\": \"Microsoft.Orbital/orbitalGateways\",\n \"actions\": [\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n ],\n },\n }])\nexample_contact_profile = azure.orbital.ContactProfile(\"example\",\n name=\"example-contact-profile\",\n resource_group_name=example.name,\n location=example.location,\n minimum_variable_contact_duration=\"PT1M\",\n auto_tracking=\"disabled\",\n links=[{\n \"channels\": [{\n \"name\": \"channelname\",\n \"bandwidth_mhz\": 100,\n \"center_frequency_mhz\": 101,\n \"end_points\": [{\n \"end_point_name\": \"AQUA_command\",\n \"ip_address\": \"10.0.1.0\",\n \"port\": \"49513\",\n \"protocol\": \"TCP\",\n }],\n }],\n \"direction\": \"Uplink\",\n \"name\": \"RHCP_UL\",\n \"polarization\": \"RHCP\",\n }],\n network_configuration_subnet_id=example_subnet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleVirtualNetwork = new Azure.Network.VirtualNetwork(\"example\", new()\n {\n Name = \"testvnet\",\n AddressSpaces = new[]\n {\n \"10.0.0.0/16\",\n },\n Location = example.Location,\n ResourceGroupName = example.Name,\n });\n\n var exampleSubnet = new Azure.Network.Subnet(\"example\", new()\n {\n Name = \"testsubnet\",\n ResourceGroupName = example.Name,\n VirtualNetworkName = exampleVirtualNetwork.Name,\n AddressPrefixes = new[]\n {\n \"10.0.1.0/24\",\n },\n Delegations = new[]\n {\n new Azure.Network.Inputs.SubnetDelegationArgs\n {\n Name = \"orbitalgateway\",\n ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs\n {\n Name = \"Microsoft.Orbital/orbitalGateways\",\n Actions = new[]\n {\n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\",\n },\n },\n },\n },\n });\n\n var exampleContactProfile = new Azure.Orbital.ContactProfile(\"example\", new()\n {\n Name = \"example-contact-profile\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n MinimumVariableContactDuration = \"PT1M\",\n AutoTracking = \"disabled\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkArgs\n {\n Channels = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelArgs\n {\n Name = \"channelname\",\n BandwidthMhz = 100,\n CenterFrequencyMhz = 101,\n EndPoints = new[]\n {\n new Azure.Orbital.Inputs.ContactProfileLinkChannelEndPointArgs\n {\n EndPointName = \"AQUA_command\",\n IpAddress = \"10.0.1.0\",\n Port = \"49513\",\n Protocol = \"TCP\",\n },\n },\n },\n },\n Direction = \"Uplink\",\n Name = \"RHCP_UL\",\n Polarization = \"RHCP\",\n },\n },\n NetworkConfigurationSubnetId = exampleSubnet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, \"example\", \u0026network.VirtualNetworkArgs{\n\t\t\tName: pulumi.String(\"testvnet\"),\n\t\t\tAddressSpaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t},\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleSubnet, err := network.NewSubnet(ctx, \"example\", \u0026network.SubnetArgs{\n\t\t\tName: pulumi.String(\"testsubnet\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tVirtualNetworkName: exampleVirtualNetwork.Name,\n\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.0.1.0/24\"),\n\t\t\t},\n\t\t\tDelegations: network.SubnetDelegationArray{\n\t\t\t\t\u0026network.SubnetDelegationArgs{\n\t\t\t\t\tName: pulumi.String(\"orbitalgateway\"),\n\t\t\t\t\tServiceDelegation: \u0026network.SubnetDelegationServiceDelegationArgs{\n\t\t\t\t\t\tName: pulumi.String(\"Microsoft.Orbital/orbitalGateways\"),\n\t\t\t\t\t\tActions: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/subnets/join/action\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/virtualNetworks/read\"),\n\t\t\t\t\t\t\tpulumi.String(\"Microsoft.Network/publicIPAddresses/read\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewContactProfile(ctx, \"example\", \u0026orbital.ContactProfileArgs{\n\t\t\tName: pulumi.String(\"example-contact-profile\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tMinimumVariableContactDuration: pulumi.String(\"PT1M\"),\n\t\t\tAutoTracking: pulumi.String(\"disabled\"),\n\t\t\tLinks: orbital.ContactProfileLinkArray{\n\t\t\t\t\u0026orbital.ContactProfileLinkArgs{\n\t\t\t\t\tChannels: orbital.ContactProfileLinkChannelArray{\n\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"channelname\"),\n\t\t\t\t\t\t\tBandwidthMhz: pulumi.Float64(100),\n\t\t\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(101),\n\t\t\t\t\t\t\tEndPoints: orbital.ContactProfileLinkChannelEndPointArray{\n\t\t\t\t\t\t\t\t\u0026orbital.ContactProfileLinkChannelEndPointArgs{\n\t\t\t\t\t\t\t\t\tEndPointName: pulumi.String(\"AQUA_command\"),\n\t\t\t\t\t\t\t\t\tIpAddress: pulumi.String(\"10.0.1.0\"),\n\t\t\t\t\t\t\t\t\tPort: pulumi.String(\"49513\"),\n\t\t\t\t\t\t\t\t\tProtocol: pulumi.String(\"TCP\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tName: pulumi.String(\"RHCP_UL\"),\n\t\t\t\t\tPolarization: pulumi.String(\"RHCP\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNetworkConfigurationSubnetId: exampleSubnet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.network.VirtualNetwork;\nimport com.pulumi.azure.network.VirtualNetworkArgs;\nimport com.pulumi.azure.network.Subnet;\nimport com.pulumi.azure.network.SubnetArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationArgs;\nimport com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;\nimport com.pulumi.azure.orbital.ContactProfile;\nimport com.pulumi.azure.orbital.ContactProfileArgs;\nimport com.pulumi.azure.orbital.inputs.ContactProfileLinkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleVirtualNetwork = new VirtualNetwork(\"exampleVirtualNetwork\", VirtualNetworkArgs.builder()\n .name(\"testvnet\")\n .addressSpaces(\"10.0.0.0/16\")\n .location(example.location())\n .resourceGroupName(example.name())\n .build());\n\n var exampleSubnet = new Subnet(\"exampleSubnet\", SubnetArgs.builder()\n .name(\"testsubnet\")\n .resourceGroupName(example.name())\n .virtualNetworkName(exampleVirtualNetwork.name())\n .addressPrefixes(\"10.0.1.0/24\")\n .delegations(SubnetDelegationArgs.builder()\n .name(\"orbitalgateway\")\n .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()\n .name(\"Microsoft.Orbital/orbitalGateways\")\n .actions( \n \"Microsoft.Network/publicIPAddresses/join/action\",\n \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n \"Microsoft.Network/virtualNetworks/read\",\n \"Microsoft.Network/publicIPAddresses/read\")\n .build())\n .build())\n .build());\n\n var exampleContactProfile = new ContactProfile(\"exampleContactProfile\", ContactProfileArgs.builder()\n .name(\"example-contact-profile\")\n .resourceGroupName(example.name())\n .location(example.location())\n .minimumVariableContactDuration(\"PT1M\")\n .autoTracking(\"disabled\")\n .links(ContactProfileLinkArgs.builder()\n .channels(ContactProfileLinkChannelArgs.builder()\n .name(\"channelname\")\n .bandwidthMhz(100)\n .centerFrequencyMhz(101)\n .endPoints(ContactProfileLinkChannelEndPointArgs.builder()\n .endPointName(\"AQUA_command\")\n .ipAddress(\"10.0.1.0\")\n .port(\"49513\")\n .protocol(\"TCP\")\n .build())\n .build())\n .direction(\"Uplink\")\n .name(\"RHCP_UL\")\n .polarization(\"RHCP\")\n .build())\n .networkConfigurationSubnetId(exampleSubnet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleVirtualNetwork:\n type: azure:network:VirtualNetwork\n name: example\n properties:\n name: testvnet\n addressSpaces:\n - 10.0.0.0/16\n location: ${example.location}\n resourceGroupName: ${example.name}\n exampleSubnet:\n type: azure:network:Subnet\n name: example\n properties:\n name: testsubnet\n resourceGroupName: ${example.name}\n virtualNetworkName: ${exampleVirtualNetwork.name}\n addressPrefixes:\n - 10.0.1.0/24\n delegations:\n - name: orbitalgateway\n serviceDelegation:\n name: Microsoft.Orbital/orbitalGateways\n actions:\n - Microsoft.Network/publicIPAddresses/join/action\n - Microsoft.Network/virtualNetworks/subnets/join/action\n - Microsoft.Network/virtualNetworks/read\n - Microsoft.Network/publicIPAddresses/read\n exampleContactProfile:\n type: azure:orbital:ContactProfile\n name: example\n properties:\n name: example-contact-profile\n resourceGroupName: ${example.name}\n location: ${example.location}\n minimumVariableContactDuration: PT1M\n autoTracking: disabled\n links:\n - channels:\n - name: channelname\n bandwidthMhz: 100\n centerFrequencyMhz: 101\n endPoints:\n - endPointName: AQUA_command\n ipAddress: 10.0.1.0\n port: '49513'\n protocol: TCP\n direction: Uplink\n name: RHCP_UL\n polarization: RHCP\n networkConfigurationSubnetId: ${exampleSubnet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nContact profile can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/contactProfile:ContactProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/contactProfiles/contactProfile1\n```\n\n", "properties": { "autoTracking": { "type": "string", @@ -236529,7 +236725,7 @@ } }, "azure:orbital/spacecraft:Spacecraft": { - "description": "Manages a Spacecraft.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleSpacecraft = new azure.orbital.Spacecraft(\"example\", {\n name: \"example-spacecraft\",\n resourceGroupName: example.name,\n location: \"westeurope\",\n noradId: \"12345\",\n links: [{\n bandwidthMhz: 30,\n centerFrequencyMhz: 2050,\n direction: \"Uplink\",\n polarization: \"LHCP\",\n name: \"examplename\",\n }],\n twoLineElements: [\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n titleLine: \"AQUA\",\n tags: {\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_spacecraft = azure.orbital.Spacecraft(\"example\",\n name=\"example-spacecraft\",\n resource_group_name=example.name,\n location=\"westeurope\",\n norad_id=\"12345\",\n links=[{\n \"bandwidth_mhz\": 30,\n \"center_frequency_mhz\": 2050,\n \"direction\": \"Uplink\",\n \"polarization\": \"LHCP\",\n \"name\": \"examplename\",\n }],\n two_line_elements=[\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n title_line=\"AQUA\",\n tags={\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleSpacecraft = new Azure.Orbital.Spacecraft(\"example\", new()\n {\n Name = \"example-spacecraft\",\n ResourceGroupName = example.Name,\n Location = \"westeurope\",\n NoradId = \"12345\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.SpacecraftLinkArgs\n {\n BandwidthMhz = 30,\n CenterFrequencyMhz = 2050,\n Direction = \"Uplink\",\n Polarization = \"LHCP\",\n Name = \"examplename\",\n },\n },\n TwoLineElements = new[]\n {\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n },\n TitleLine = \"AQUA\",\n Tags = \n {\n { \"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewSpacecraft(ctx, \"example\", \u0026orbital.SpacecraftArgs{\n\t\t\tName: pulumi.String(\"example-spacecraft\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: pulumi.String(\"westeurope\"),\n\t\t\tNoradId: pulumi.String(\"12345\"),\n\t\t\tLinks: orbital.SpacecraftLinkArray{\n\t\t\t\t\u0026orbital.SpacecraftLinkArgs{\n\t\t\t\t\tBandwidthMhz: pulumi.Float64(30),\n\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(2050),\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tPolarization: pulumi.String(\"LHCP\"),\n\t\t\t\t\tName: pulumi.String(\"examplename\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTwoLineElements: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\"),\n\t\t\t\tpulumi.String(\"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\"),\n\t\t\t},\n\t\t\tTitleLine: pulumi.String(\"AQUA\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"aks-managed-cluster-name\": pulumi.String(\"9a57225d-a405-4d40-aa46-f13d2342abef\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.orbital.Spacecraft;\nimport com.pulumi.azure.orbital.SpacecraftArgs;\nimport com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleSpacecraft = new Spacecraft(\"exampleSpacecraft\", SpacecraftArgs.builder()\n .name(\"example-spacecraft\")\n .resourceGroupName(example.name())\n .location(\"westeurope\")\n .noradId(\"12345\")\n .links(SpacecraftLinkArgs.builder()\n .bandwidthMhz(30)\n .centerFrequencyMhz(2050)\n .direction(\"Uplink\")\n .polarization(\"LHCP\")\n .name(\"examplename\")\n .build())\n .twoLineElements( \n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\")\n .titleLine(\"AQUA\")\n .tags(Map.of(\"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleSpacecraft:\n type: azure:orbital:Spacecraft\n name: example\n properties:\n name: example-spacecraft\n resourceGroupName: ${example.name}\n location: westeurope\n noradId: '12345'\n links:\n - bandwidthMhz: 30\n centerFrequencyMhz: 2050\n direction: Uplink\n polarization: LHCP\n name: examplename\n twoLineElements:\n - 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\n - 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\n titleLine: AQUA\n tags:\n aks-managed-cluster-name: 9a57225d-a405-4d40-aa46-f13d2342abef\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSpacecraft can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/spacecraft:Spacecraft example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1\n```\n\n", + "description": "Manages a Spacecraft.\n\n\u003e **Note:** The `azure.orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"rg-example\",\n location: \"West Europe\",\n});\nconst exampleSpacecraft = new azure.orbital.Spacecraft(\"example\", {\n name: \"example-spacecraft\",\n resourceGroupName: example.name,\n location: \"westeurope\",\n noradId: \"12345\",\n links: [{\n bandwidthMhz: 30,\n centerFrequencyMhz: 2050,\n direction: \"Uplink\",\n polarization: \"LHCP\",\n name: \"examplename\",\n }],\n twoLineElements: [\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n titleLine: \"AQUA\",\n tags: {\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"rg-example\",\n location=\"West Europe\")\nexample_spacecraft = azure.orbital.Spacecraft(\"example\",\n name=\"example-spacecraft\",\n resource_group_name=example.name,\n location=\"westeurope\",\n norad_id=\"12345\",\n links=[{\n \"bandwidth_mhz\": 30,\n \"center_frequency_mhz\": 2050,\n \"direction\": \"Uplink\",\n \"polarization\": \"LHCP\",\n \"name\": \"examplename\",\n }],\n two_line_elements=[\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n ],\n title_line=\"AQUA\",\n tags={\n \"aks-managed-cluster-name\": \"9a57225d-a405-4d40-aa46-f13d2342abef\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"rg-example\",\n Location = \"West Europe\",\n });\n\n var exampleSpacecraft = new Azure.Orbital.Spacecraft(\"example\", new()\n {\n Name = \"example-spacecraft\",\n ResourceGroupName = example.Name,\n Location = \"westeurope\",\n NoradId = \"12345\",\n Links = new[]\n {\n new Azure.Orbital.Inputs.SpacecraftLinkArgs\n {\n BandwidthMhz = 30,\n CenterFrequencyMhz = 2050,\n Direction = \"Uplink\",\n Polarization = \"LHCP\",\n Name = \"examplename\",\n },\n },\n TwoLineElements = new[]\n {\n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\",\n },\n TitleLine = \"AQUA\",\n Tags = \n {\n { \"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/orbital\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"rg-example\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = orbital.NewSpacecraft(ctx, \"example\", \u0026orbital.SpacecraftArgs{\n\t\t\tName: pulumi.String(\"example-spacecraft\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: pulumi.String(\"westeurope\"),\n\t\t\tNoradId: pulumi.String(\"12345\"),\n\t\t\tLinks: orbital.SpacecraftLinkArray{\n\t\t\t\t\u0026orbital.SpacecraftLinkArgs{\n\t\t\t\t\tBandwidthMhz: pulumi.Float64(30),\n\t\t\t\t\tCenterFrequencyMhz: pulumi.Float64(2050),\n\t\t\t\t\tDirection: pulumi.String(\"Uplink\"),\n\t\t\t\t\tPolarization: pulumi.String(\"LHCP\"),\n\t\t\t\t\tName: pulumi.String(\"examplename\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTwoLineElements: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\"),\n\t\t\t\tpulumi.String(\"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\"),\n\t\t\t},\n\t\t\tTitleLine: pulumi.String(\"AQUA\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"aks-managed-cluster-name\": pulumi.String(\"9a57225d-a405-4d40-aa46-f13d2342abef\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.orbital.Spacecraft;\nimport com.pulumi.azure.orbital.SpacecraftArgs;\nimport com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"rg-example\")\n .location(\"West Europe\")\n .build());\n\n var exampleSpacecraft = new Spacecraft(\"exampleSpacecraft\", SpacecraftArgs.builder()\n .name(\"example-spacecraft\")\n .resourceGroupName(example.name())\n .location(\"westeurope\")\n .noradId(\"12345\")\n .links(SpacecraftLinkArgs.builder()\n .bandwidthMhz(30)\n .centerFrequencyMhz(2050)\n .direction(\"Uplink\")\n .polarization(\"LHCP\")\n .name(\"examplename\")\n .build())\n .twoLineElements( \n \"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\",\n \"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\")\n .titleLine(\"AQUA\")\n .tags(Map.of(\"aks-managed-cluster-name\", \"9a57225d-a405-4d40-aa46-f13d2342abef\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: rg-example\n location: West Europe\n exampleSpacecraft:\n type: azure:orbital:Spacecraft\n name: example\n properties:\n name: example-spacecraft\n resourceGroupName: ${example.name}\n location: westeurope\n noradId: '12345'\n links:\n - bandwidthMhz: 30\n centerFrequencyMhz: 2050\n direction: Uplink\n polarization: LHCP\n name: examplename\n twoLineElements:\n - 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621\n - 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495\n titleLine: AQUA\n tags:\n aks-managed-cluster-name: 9a57225d-a405-4d40-aa46-f13d2342abef\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSpacecraft can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:orbital/spacecraft:Spacecraft example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1\n```\n\n", "properties": { "links": { "type": "array", @@ -245624,6 +245820,10 @@ "type": "string", "description": "The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.\n" }, + "networkRuleBypassOption": { + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`.\n" + }, "partitionCount": { "type": "integer", "description": "Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.\n\n\u003e **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.\n" @@ -245722,6 +245922,10 @@ "description": "The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.\n", "willReplaceOnChanges": true }, + "networkRuleBypassOption": { + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`.\n" + }, "partitionCount": { "type": "integer", "description": "Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.\n\n\u003e **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.\n" @@ -245805,6 +246009,10 @@ "description": "The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.\n", "willReplaceOnChanges": true }, + "networkRuleBypassOption": { + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`.\n" + }, "partitionCount": { "type": "integer", "description": "Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.\n\n\u003e **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.\n" @@ -295347,6 +295555,7 @@ "type": "string" }, "protectedFiles": { + "description": "A `protected_file` block as defined below.\n", "items": { "$ref": "#/types/azure:nginx/getConfigurationProtectedFile:getConfigurationProtectedFile" }, @@ -295455,7 +295664,7 @@ "type": "array" }, "managedResourceGroup": { - "description": "Auto-generated managed resource group for the NGINX Deployment.\n", + "deprecationMessage": "The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.", "type": "string" }, "name": { @@ -302357,7 +302566,7 @@ }, "storageAccountId": { "type": "string", - "description": "The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider.\n\n\u003e **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.\n" + "description": "The id of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider.\n\n\u003e **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.\n" }, "storageAccountName": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 7a4e0310b5..44a62d39fb 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -6,7 +6,7 @@ toolchain go1.22.7 require ( github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 - github.com/hashicorp/go-azure-sdk/sdk v0.20241128.1112539 + github.com/hashicorp/go-azure-sdk/sdk v0.20241206.1180327 github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 github.com/hashicorp/terraform-provider-azurerm v1.44.1-0.20220923005104-eaa801c358ff github.com/pulumi/providertest v0.1.3 @@ -121,7 +121,7 @@ require ( github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-azure-helpers v0.71.0 // indirect - github.com/hashicorp/go-azure-sdk/resource-manager v0.20241128.1112539 // indirect + github.com/hashicorp/go-azure-sdk/resource-manager v0.20241206.1180327 // indirect github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect @@ -225,7 +225,6 @@ require ( github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tombuildsstuff/giovanni v0.27.0 // indirect - github.com/tombuildsstuff/kermit v0.20240122.1123108 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/ulikunitz/xz v0.5.11 // indirect diff --git a/provider/go.sum b/provider/go.sum index 57b0da3566..49dca0deda 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1629,10 +1629,10 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 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.20241128.1112539 h1:rHh2P5qcPObzpfAFafIjle3CowejFAHTfBJAHDkuSGk= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20241128.1112539/go.mod h1:oQAUu+aCHPCM0CDfsQTBnEkfUZ+sLhEW8Ssip9AeCLc= -github.com/hashicorp/go-azure-sdk/sdk v0.20241128.1112539 h1:6Ps2V/DBwBxWEjSx01fM+PqG+uIavHWvxmM2vb1N2Ok= -github.com/hashicorp/go-azure-sdk/sdk v0.20241128.1112539/go.mod h1:oI5R0fTbBx3K/sJBK5R/OlEy8ozdQjvctxVU9v3EDkc= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241206.1180327 h1:6b8IGRB1RpeFUtUym6bf+GJgyWuQpZq+fa/dBpHgPIE= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241206.1180327/go.mod h1:Y2T5KK4QAV+/tGfcwp5BzPRQs5/cbIXT/igtHqYZ09U= +github.com/hashicorp/go-azure-sdk/sdk v0.20241206.1180327 h1:c7Y0wwTOdna2dndVW1nalZ/DZX1wDQCSj2JNgiLycKw= +github.com/hashicorp/go-azure-sdk/sdk v0.20241206.1180327/go.mod h1:oI5R0fTbBx3K/sJBK5R/OlEy8ozdQjvctxVU9v3EDkc= 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= @@ -2090,8 +2090,6 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tombuildsstuff/giovanni v0.27.0 h1:3CDNjauK78FIhvvCp0SAHlvNcPTcofR6zQXvxwhk4zY= github.com/tombuildsstuff/giovanni v0.27.0/go.mod h1:SviBdlwdVn2HyArdRABBqMUODBJ2adQHi+RFEVaO05I= -github.com/tombuildsstuff/kermit v0.20240122.1123108 h1:icQaxsv/ANv/KC4Sr0V1trrWA/XIL+3QAVBDpiSTgj8= -github.com/tombuildsstuff/kermit v0.20240122.1123108/go.mod h1:T3YBVFhRV4qA7SbnRaNE6eapIMpKDA9rG/V7Ocsjlno= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= diff --git a/provider/resources.go b/provider/resources.go index d42d887eda..32bb9ebb79 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -272,6 +272,7 @@ var moduleMap = map[string]string{ "dynatrace": azureDynatrace, "elastic_cloud": azureElasticCloud, "elastic_san": "ElasticSan", + "fabric": "Fabric", "fluid_relay": azureFluidRelay, "frontdoor": azureFrontdoor, "function": azureAppService, diff --git a/sdk/dotnet/ApiManagement/ApiDiagnostic.cs b/sdk/dotnet/ApiManagement/ApiDiagnostic.cs index b76339421d..3ee788aefa 100644 --- a/sdk/dotnet/ApiManagement/ApiDiagnostic.cs +++ b/sdk/dotnet/ApiManagement/ApiDiagnostic.cs @@ -61,7 +61,7 @@ namespace Pulumi.Azure.ApiManagement /// Import = new Azure.ApiManagement.Inputs.ApiImportArgs /// { /// ContentFormat = "swagger-link-json", - /// ContentValue = "http://conferenceapi.azurewebsites.net/?format=json", + /// ContentValue = "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", /// }, /// }); /// diff --git a/sdk/dotnet/ApiManagement/ApiRelease.cs b/sdk/dotnet/ApiManagement/ApiRelease.cs index 46499c253c..6995f0b8f3 100644 --- a/sdk/dotnet/ApiManagement/ApiRelease.cs +++ b/sdk/dotnet/ApiManagement/ApiRelease.cs @@ -53,7 +53,7 @@ namespace Pulumi.Azure.ApiManagement /// Import = new Azure.ApiManagement.Inputs.ApiImportArgs /// { /// ContentFormat = "swagger-link-json", - /// ContentValue = "http://conferenceapi.azurewebsites.net/?format=json", + /// ContentValue = "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", /// }, /// }); /// diff --git a/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigArgs.cs b/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigArgs.cs index 036eb7ad75..de18fc6b4d 100644 --- a/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigArgs.cs +++ b/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigArgs.cs @@ -135,7 +135,7 @@ public InputList ScmIpRestrict public Input? ScmType { get; set; } /// - /// IP security restrictions for scm to use main. Defaults to `false`. + /// IP security restrictions for scm to use main. Defaults to `false`. /// /// > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. /// diff --git a/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigGetArgs.cs b/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigGetArgs.cs index c05507246f..c18c925e27 100644 --- a/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/FunctionAppSiteConfigGetArgs.cs @@ -135,7 +135,7 @@ public InputList ScmIpRestr public Input? ScmType { get; set; } /// - /// IP security restrictions for scm to use main. Defaults to `false`. + /// IP security restrictions for scm to use main. Defaults to `false`. /// /// > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. /// diff --git a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.cs index 33451eff25..cb30f47705 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.cs @@ -31,7 +31,9 @@ public InputList Do public Input? DotnetVersion { get; set; } /// - /// The Version of Java to use. Supported versions include `8`, `11` & `17`. + /// The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + /// + /// > **NOTE:** The value `21` is currently in Preview for `java_version`. /// [Input("javaVersion")] public Input? JavaVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackGetArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackGetArgs.cs index f5b04b2c26..b2efb7e56f 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSiteConfigApplicationStackGetArgs.cs @@ -31,7 +31,9 @@ public InputList public Input? DotnetVersion { get; set; } /// - /// The Version of Java to use. Supported versions include `8`, `11` & `17`. + /// The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + /// + /// > **NOTE:** The value `21` is currently in Preview for `java_version`. /// [Input("javaVersion")] public Input? JavaVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigArgs.cs index 59e794c59d..497b0a6be3 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigArgs.cs @@ -195,7 +195,7 @@ public InputList IpRestr public Input? ManagedPipelineMode { get; set; } /// - /// 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`. + /// 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`. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -245,7 +245,7 @@ public InputList ScmI } /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// [Input("scmMinimumTlsVersion")] public Input? ScmMinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigGetArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigGetArgs.cs index 9c8104cca1..a41399a2b7 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxFunctionAppSlotSiteConfigGetArgs.cs @@ -195,7 +195,7 @@ public InputList IpRe public Input? ManagedPipelineMode { get; set; } /// - /// 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`. + /// 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`. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -245,7 +245,7 @@ public InputList S } /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// [Input("scmMinimumTlsVersion")] public Input? ScmMinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackArgs.cs index 520dd29e26..e7174214ef 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackArgs.cs @@ -75,7 +75,7 @@ public Input? DockerRegistryPassword public Input? JavaServerVersion { get; set; } /// - /// The Version of Java to use. Possible values include `8`, `11`, and `17`. + /// The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. /// /// > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. /// diff --git a/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackGetArgs.cs b/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackGetArgs.cs index 256d726157..df94ad31b5 100644 --- a/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/LinuxWebAppSiteConfigApplicationStackGetArgs.cs @@ -75,7 +75,7 @@ public Input? DockerRegistryPassword public Input? JavaServerVersion { get; set; } /// - /// The Version of Java to use. Possible values include `8`, `11`, and `17`. + /// The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. /// /// > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. /// diff --git a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.cs b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.cs index 857e44b611..3571d6f53e 100644 --- a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.cs +++ b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.cs @@ -19,7 +19,7 @@ public sealed class WindowsFunctionAppSiteConfigApplicationStackArgs : global::P public Input? DotnetVersion { get; set; } /// - /// The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + /// The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). /// [Input("javaVersion")] public Input? JavaVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackGetArgs.cs b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackGetArgs.cs index f185dff97b..df4e123100 100644 --- a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSiteConfigApplicationStackGetArgs.cs @@ -19,7 +19,7 @@ public sealed class WindowsFunctionAppSiteConfigApplicationStackGetArgs : global public Input? DotnetVersion { get; set; } /// - /// The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + /// The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). /// [Input("javaVersion")] public Input? JavaVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigArgs.cs b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigArgs.cs index ff2bc29182..a441e43f36 100644 --- a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigArgs.cs +++ b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigArgs.cs @@ -177,7 +177,7 @@ public InputList IpRes public Input? ManagedPipelineMode { get; set; } /// - /// 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`. + /// 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`. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -227,7 +227,7 @@ public InputList Sc } /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// [Input("scmMinimumTlsVersion")] public Input? ScmMinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigGetArgs.cs b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigGetArgs.cs index e805ae9e04..5291930dc3 100644 --- a/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigGetArgs.cs +++ b/sdk/dotnet/AppService/Inputs/WindowsFunctionAppSlotSiteConfigGetArgs.cs @@ -177,7 +177,7 @@ public InputList Ip public Input? ManagedPipelineMode { get; set; } /// - /// 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`. + /// 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`. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -227,7 +227,7 @@ public InputList } /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// [Input("scmMinimumTlsVersion")] public Input? ScmMinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/AppService/Outputs/FunctionAppSiteConfig.cs b/sdk/dotnet/AppService/Outputs/FunctionAppSiteConfig.cs index 614541df12..590d16f7de 100644 --- a/sdk/dotnet/AppService/Outputs/FunctionAppSiteConfig.cs +++ b/sdk/dotnet/AppService/Outputs/FunctionAppSiteConfig.cs @@ -90,7 +90,7 @@ public sealed class FunctionAppSiteConfig /// public readonly string? ScmType; /// - /// IP security restrictions for scm to use main. Defaults to `false`. + /// IP security restrictions for scm to use main. Defaults to `false`. /// /// > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. /// diff --git a/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSiteConfigApplicationStack.cs b/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSiteConfigApplicationStack.cs index 42224776da..246ddbb786 100644 --- a/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSiteConfigApplicationStack.cs +++ b/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSiteConfigApplicationStack.cs @@ -22,7 +22,9 @@ public sealed class LinuxFunctionAppSiteConfigApplicationStack /// public readonly string? DotnetVersion; /// - /// The Version of Java to use. Supported versions include `8`, `11` & `17`. + /// The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + /// + /// > **NOTE:** The value `21` is currently in Preview for `java_version`. /// public readonly string? JavaVersion; /// diff --git a/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSlotSiteConfig.cs b/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSlotSiteConfig.cs index 00c0ffa864..99f0e33a95 100644 --- a/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSlotSiteConfig.cs +++ b/sdk/dotnet/AppService/Outputs/LinuxFunctionAppSlotSiteConfig.cs @@ -114,7 +114,7 @@ public sealed class LinuxFunctionAppSlotSiteConfig /// public readonly string? ManagedPipelineMode; /// - /// 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`. + /// 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`. /// public readonly string? MinimumTlsVersion; /// @@ -144,7 +144,7 @@ public sealed class LinuxFunctionAppSlotSiteConfig /// public readonly ImmutableArray ScmIpRestrictions; /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// public readonly string? ScmMinimumTlsVersion; /// diff --git a/sdk/dotnet/AppService/Outputs/LinuxWebAppSiteConfigApplicationStack.cs b/sdk/dotnet/AppService/Outputs/LinuxWebAppSiteConfigApplicationStack.cs index bbb964d876..274019d362 100644 --- a/sdk/dotnet/AppService/Outputs/LinuxWebAppSiteConfigApplicationStack.cs +++ b/sdk/dotnet/AppService/Outputs/LinuxWebAppSiteConfigApplicationStack.cs @@ -50,7 +50,7 @@ public sealed class LinuxWebAppSiteConfigApplicationStack /// public readonly string? JavaServerVersion; /// - /// The Version of Java to use. Possible values include `8`, `11`, and `17`. + /// The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. /// /// > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. /// diff --git a/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSiteConfigApplicationStack.cs b/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSiteConfigApplicationStack.cs index 47c147463d..d89575dc40 100644 --- a/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSiteConfigApplicationStack.cs +++ b/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSiteConfigApplicationStack.cs @@ -18,7 +18,7 @@ public sealed class WindowsFunctionAppSiteConfigApplicationStack /// public readonly string? DotnetVersion; /// - /// The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + /// The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). /// public readonly string? JavaVersion; /// diff --git a/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSlotSiteConfig.cs b/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSlotSiteConfig.cs index 28fe7620ab..d346b34c98 100644 --- a/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSlotSiteConfig.cs +++ b/sdk/dotnet/AppService/Outputs/WindowsFunctionAppSlotSiteConfig.cs @@ -102,7 +102,7 @@ public sealed class WindowsFunctionAppSlotSiteConfig /// public readonly string? ManagedPipelineMode; /// - /// 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`. + /// 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`. /// public readonly string? MinimumTlsVersion; /// @@ -132,7 +132,7 @@ public sealed class WindowsFunctionAppSlotSiteConfig /// public readonly ImmutableArray ScmIpRestrictions; /// - /// 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`. + /// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. /// public readonly string? ScmMinimumTlsVersion; /// diff --git a/sdk/dotnet/Automation/SoftwareUpdateConfiguration.cs b/sdk/dotnet/Automation/SoftwareUpdateConfiguration.cs index 2903d48030..7143210a3b 100644 --- a/sdk/dotnet/Automation/SoftwareUpdateConfiguration.cs +++ b/sdk/dotnet/Automation/SoftwareUpdateConfiguration.cs @@ -10,7 +10,7 @@ namespace Pulumi.Azure.Automation { /// - /// Manages an Automation Software Update Configuraion. + /// Manages an Automation Software Update Configuration. /// /// ## Example Usage /// diff --git a/sdk/dotnet/Cognitive/AccountRaiBlocklist.cs b/sdk/dotnet/Cognitive/AccountRaiBlocklist.cs new file mode 100644 index 0000000000..116ba1825f --- /dev/null +++ b/sdk/dotnet/Cognitive/AccountRaiBlocklist.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Azure.Cognitive +{ + /// + /// Manages a Cognitive Account Rai Blocklist. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Azure = Pulumi.Azure; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Azure.Core.ResourceGroup("example", new() + /// { + /// Name = "example-resources", + /// Location = "Brazil South", + /// }); + /// + /// var exampleAccount = new Azure.Cognitive.Account("example", new() + /// { + /// Name = "example-ca", + /// Location = example.Location, + /// ResourceGroupName = example.Name, + /// Kind = "OpenAI", + /// SkuName = "S0", + /// }); + /// + /// var exampleAccountRaiBlocklist = new Azure.Cognitive.AccountRaiBlocklist("example", new() + /// { + /// Name = "example-crb", + /// CognitiveAccountId = exampleAccount.Id, + /// Description = "Azure OpenAI Rai Blocklist", + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. + /// + /// ```sh + /// $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 + /// ``` + /// + [AzureResourceType("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist")] + public partial class AccountRaiBlocklist : global::Pulumi.CustomResource + { + /// + /// The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Output("cognitiveAccountId")] + public Output CognitiveAccountId { get; private set; } = null!; + + /// + /// A short description for the Cognitive Account Rai Blocklist. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + + /// + /// Create a AccountRaiBlocklist resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AccountRaiBlocklist(string name, AccountRaiBlocklistArgs args, CustomResourceOptions? options = null) + : base("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, args ?? new AccountRaiBlocklistArgs(), MakeResourceOptions(options, "")) + { + } + + private AccountRaiBlocklist(string name, Input id, AccountRaiBlocklistState? state = null, CustomResourceOptions? options = null) + : base("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AccountRaiBlocklist resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static AccountRaiBlocklist Get(string name, Input id, AccountRaiBlocklistState? state = null, CustomResourceOptions? options = null) + { + return new AccountRaiBlocklist(name, id, state, options); + } + } + + public sealed class AccountRaiBlocklistArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Input("cognitiveAccountId", required: true)] + public Input CognitiveAccountId { get; set; } = null!; + + /// + /// A short description for the Cognitive Account Rai Blocklist. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + public AccountRaiBlocklistArgs() + { + } + public static new AccountRaiBlocklistArgs Empty => new AccountRaiBlocklistArgs(); + } + + public sealed class AccountRaiBlocklistState : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Input("cognitiveAccountId")] + public Input? CognitiveAccountId { get; set; } + + /// + /// A short description for the Cognitive Account Rai Blocklist. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + public AccountRaiBlocklistState() + { + } + public static new AccountRaiBlocklistState Empty => new AccountRaiBlocklistState(); + } +} diff --git a/sdk/dotnet/Compute/ManagedDisk.cs b/sdk/dotnet/Compute/ManagedDisk.cs index fa9d2f0c9b..7343f940e8 100644 --- a/sdk/dotnet/Compute/ManagedDisk.cs +++ b/sdk/dotnet/Compute/ManagedDisk.cs @@ -254,8 +254,6 @@ public partial class ManagedDisk : global::Pulumi.CustomResource /// /// Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - /// - /// > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. /// [Output("performancePlusEnabled")] public Output PerformancePlusEnabled { get; private set; } = null!; @@ -546,8 +544,6 @@ public sealed class ManagedDiskArgs : global::Pulumi.ResourceArgs /// /// Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - /// - /// > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. /// [Input("performancePlusEnabled")] public Input? PerformancePlusEnabled { get; set; } @@ -806,8 +802,6 @@ public sealed class ManagedDiskState : global::Pulumi.ResourceArgs /// /// Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - /// - /// > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. /// [Input("performancePlusEnabled")] public Input? PerformancePlusEnabled { get; set; } diff --git a/sdk/dotnet/Fabric/Capacity.cs b/sdk/dotnet/Fabric/Capacity.cs new file mode 100644 index 0000000000..18bcfe434f --- /dev/null +++ b/sdk/dotnet/Fabric/Capacity.cs @@ -0,0 +1,258 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Azure.Fabric +{ + /// + /// Manages a Fabric Capacity. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Azure = Pulumi.Azure; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var current = Azure.Core.GetClientConfig.Invoke(); + /// + /// var example = new Azure.Core.ResourceGroup("example", new() + /// { + /// Name = "example-resources", + /// Location = "West Europe", + /// }); + /// + /// var exampleCapacity = new Azure.Fabric.Capacity("example", new() + /// { + /// Name = "example-ffc", + /// ResourceGroupName = example.Name, + /// Location = "West Europe", + /// AdministrationMembers = new[] + /// { + /// current.Apply(getClientConfigResult => getClientConfigResult.ObjectId), + /// }, + /// Sku = new Azure.Fabric.Inputs.CapacitySkuArgs + /// { + /// Name = "F32", + /// Tier = "Fabric", + /// }, + /// Tags = + /// { + /// { "environment", "test" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Fabric Capacities can be imported using the `resource id`, e.g. + /// + /// ```sh + /// $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 + /// ``` + /// + [AzureResourceType("azure:fabric/capacity:Capacity")] + public partial class Capacity : global::Pulumi.CustomResource + { + /// + /// An array of administrator user identities. The member must be an Entra member user or a service principal. + /// + [Output("administrationMembers")] + public Output> AdministrationMembers { get; private set; } = null!; + + /// + /// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Output("resourceGroupName")] + public Output ResourceGroupName { get; private set; } = null!; + + /// + /// A `sku` block as defined below. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// A mapping of tags to assign to the Fabric Capacity. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + + /// + /// Create a Capacity resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Capacity(string name, CapacityArgs args, CustomResourceOptions? options = null) + : base("azure:fabric/capacity:Capacity", name, args ?? new CapacityArgs(), MakeResourceOptions(options, "")) + { + } + + private Capacity(string name, Input id, CapacityState? state = null, CustomResourceOptions? options = null) + : base("azure:fabric/capacity:Capacity", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Capacity resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Capacity Get(string name, Input id, CapacityState? state = null, CustomResourceOptions? options = null) + { + return new Capacity(name, id, state, options); + } + } + + public sealed class CapacityArgs : global::Pulumi.ResourceArgs + { + [Input("administrationMembers")] + private InputList? _administrationMembers; + + /// + /// An array of administrator user identities. The member must be an Entra member user or a service principal. + /// + public InputList AdministrationMembers + { + get => _administrationMembers ?? (_administrationMembers = new InputList()); + set => _administrationMembers = value; + } + + /// + /// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// A `sku` block as defined below. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the Fabric Capacity. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CapacityArgs() + { + } + public static new CapacityArgs Empty => new CapacityArgs(); + } + + public sealed class CapacityState : global::Pulumi.ResourceArgs + { + [Input("administrationMembers")] + private InputList? _administrationMembers; + + /// + /// An array of administrator user identities. The member must be an Entra member user or a service principal. + /// + public InputList AdministrationMembers + { + get => _administrationMembers ?? (_administrationMembers = new InputList()); + set => _administrationMembers = value; + } + + /// + /// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + /// + [Input("resourceGroupName")] + public Input? ResourceGroupName { get; set; } + + /// + /// A `sku` block as defined below. + /// + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the Fabric Capacity. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public CapacityState() + { + } + public static new CapacityState Empty => new CapacityState(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CapacitySkuArgs.cs b/sdk/dotnet/Fabric/Inputs/CapacitySkuArgs.cs new file mode 100644 index 0000000000..b98486fee3 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CapacitySkuArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Azure.Fabric.Inputs +{ + + public sealed class CapacitySkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + /// + [Input("tier", required: true)] + public Input Tier { get; set; } = null!; + + public CapacitySkuArgs() + { + } + public static new CapacitySkuArgs Empty => new CapacitySkuArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CapacitySkuGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CapacitySkuGetArgs.cs new file mode 100644 index 0000000000..f243d01ff8 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CapacitySkuGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Azure.Fabric.Inputs +{ + + public sealed class CapacitySkuGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + /// + [Input("tier", required: true)] + public Input Tier { get; set; } = null!; + + public CapacitySkuGetArgs() + { + } + public static new CapacitySkuGetArgs Empty => new CapacitySkuGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CapacitySku.cs b/sdk/dotnet/Fabric/Outputs/CapacitySku.cs new file mode 100644 index 0000000000..967220b39e --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CapacitySku.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Azure.Fabric.Outputs +{ + + [OutputType] + public sealed class CapacitySku + { + /// + /// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + /// + public readonly string Name; + /// + /// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + /// + public readonly string Tier; + + [OutputConstructor] + private CapacitySku( + string name, + + string tier) + { + Name = name; + Tier = tier; + } + } +} diff --git a/sdk/dotnet/Fabric/README.md b/sdk/dotnet/Fabric/README.md new file mode 100644 index 0000000000..286e13b248 --- /dev/null +++ b/sdk/dotnet/Fabric/README.md @@ -0,0 +1 @@ +A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates. diff --git a/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigArgs.cs b/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigArgs.cs index 98efb7edf6..e4eebf1dc9 100644 --- a/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigArgs.cs +++ b/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigArgs.cs @@ -88,6 +88,8 @@ public InputList IpRestrictions /// /// The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("minTlsVersion")] public Input? MinTlsVersion { get; set; } @@ -123,6 +125,8 @@ public InputList ScmIpRestriction /// /// Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("scmMinTlsVersion")] public Input? ScmMinTlsVersion { get; set; } diff --git a/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigGetArgs.cs b/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigGetArgs.cs index c9274598e8..184a33b32d 100644 --- a/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigGetArgs.cs +++ b/sdk/dotnet/LogicApps/Inputs/StandardSiteConfigGetArgs.cs @@ -88,6 +88,8 @@ public InputList IpRestrictions /// /// The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("minTlsVersion")] public Input? MinTlsVersion { get; set; } @@ -123,6 +125,8 @@ public InputList ScmIpRestrict /// /// Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("scmMinTlsVersion")] public Input? ScmMinTlsVersion { get; set; } diff --git a/sdk/dotnet/LogicApps/Outputs/StandardSiteConfig.cs b/sdk/dotnet/LogicApps/Outputs/StandardSiteConfig.cs index 17e7f990fb..8641140b33 100644 --- a/sdk/dotnet/LogicApps/Outputs/StandardSiteConfig.cs +++ b/sdk/dotnet/LogicApps/Outputs/StandardSiteConfig.cs @@ -61,6 +61,8 @@ public sealed class StandardSiteConfig public readonly string? LinuxFxVersion; /// /// The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// public readonly string? MinTlsVersion; /// @@ -80,6 +82,8 @@ public sealed class StandardSiteConfig public readonly ImmutableArray ScmIpRestrictions; /// /// Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + /// + /// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// public readonly string? ScmMinTlsVersion; /// diff --git a/sdk/dotnet/MSSql/Server.cs b/sdk/dotnet/MSSql/Server.cs index f4f5a145ad..8cb1e57d70 100644 --- a/sdk/dotnet/MSSql/Server.cs +++ b/sdk/dotnet/MSSql/Server.cs @@ -224,6 +224,8 @@ public partial class Server : global::Pulumi.CustomResource /// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. /// /// > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + /// + /// > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Output("minimumTlsVersion")] public Output MinimumTlsVersion { get; private set; } = null!; @@ -392,6 +394,8 @@ public Input? AdministratorLoginPassword /// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. /// /// > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + /// + /// > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -520,6 +524,8 @@ public Input? AdministratorLoginPassword /// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. /// /// > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + /// + /// > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. /// [Input("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/Nginx/Configuration.cs b/sdk/dotnet/Nginx/Configuration.cs index 72adfc0fcb..86faaae04f 100644 --- a/sdk/dotnet/Nginx/Configuration.cs +++ b/sdk/dotnet/Nginx/Configuration.cs @@ -85,7 +85,6 @@ namespace Pulumi.Azure.Nginx /// ResourceGroupName = example.Name, /// Sku = "publicpreview_Monthly_gmz7xq9ge3py", /// Location = example.Location, - /// ManagedResourceGroup = "example", /// DiagnoseSupportEnabled = true, /// FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs /// { diff --git a/sdk/dotnet/Nginx/Deployment.cs b/sdk/dotnet/Nginx/Deployment.cs index 8d652814fb..1c1de5907e 100644 --- a/sdk/dotnet/Nginx/Deployment.cs +++ b/sdk/dotnet/Nginx/Deployment.cs @@ -84,7 +84,6 @@ namespace Pulumi.Azure.Nginx /// ResourceGroupName = example.Name, /// Sku = "standardv2_Monthly", /// Location = example.Location, - /// ManagedResourceGroup = "example", /// DiagnoseSupportEnabled = true, /// AutomaticUpgradeChannel = "stable", /// FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs @@ -187,9 +186,6 @@ public partial class Deployment : global::Pulumi.CustomResource [Output("loggingStorageAccounts")] public Output> LoggingStorageAccounts { get; private set; } = null!; - /// - /// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - /// [Output("managedResourceGroup")] public Output ManagedResourceGroup { get; private set; } = null!; @@ -352,9 +348,6 @@ public InputList LoggingStorageAccou set => _loggingStorageAccounts = value; } - /// - /// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - /// [Input("managedResourceGroup")] public Input? ManagedResourceGroup { get; set; } @@ -491,9 +484,6 @@ public InputList LoggingStorageAc set => _loggingStorageAccounts = value; } - /// - /// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - /// [Input("managedResourceGroup")] public Input? ManagedResourceGroup { get; set; } diff --git a/sdk/dotnet/Nginx/GetConfiguration.cs b/sdk/dotnet/Nginx/GetConfiguration.cs index 6a97b630f6..b2a12ab3da 100644 --- a/sdk/dotnet/Nginx/GetConfiguration.cs +++ b/sdk/dotnet/Nginx/GetConfiguration.cs @@ -142,6 +142,9 @@ public sealed class GetConfigurationResult /// The package data for this configuration. /// public readonly string PackageData; + /// + /// A `protected_file` block as defined below. + /// public readonly ImmutableArray ProtectedFiles; /// /// The root file path of this Nginx Configuration. diff --git a/sdk/dotnet/Nginx/GetDeployment.cs b/sdk/dotnet/Nginx/GetDeployment.cs index 70d8f8c02c..dd5a25ccab 100644 --- a/sdk/dotnet/Nginx/GetDeployment.cs +++ b/sdk/dotnet/Nginx/GetDeployment.cs @@ -192,9 +192,6 @@ public sealed class GetDeploymentResult /// A `logging_storage_account` block as defined below. /// public readonly ImmutableArray LoggingStorageAccounts; - /// - /// Auto-generated managed resource group for the NGINX Deployment. - /// public readonly string ManagedResourceGroup; /// /// Name of the autoscaling profile. diff --git a/sdk/dotnet/Orbital/Contact.cs b/sdk/dotnet/Orbital/Contact.cs index f76906e7ea..69b7991478 100644 --- a/sdk/dotnet/Orbital/Contact.cs +++ b/sdk/dotnet/Orbital/Contact.cs @@ -12,6 +12,8 @@ namespace Pulumi.Azure.Orbital /// /// Manages an orbital contact. /// + /// > **Note:** The `azure.orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + /// /// ## Example Usage /// /// ```csharp diff --git a/sdk/dotnet/Orbital/ContactProfile.cs b/sdk/dotnet/Orbital/ContactProfile.cs index 32dd02ebe5..b10230549b 100644 --- a/sdk/dotnet/Orbital/ContactProfile.cs +++ b/sdk/dotnet/Orbital/ContactProfile.cs @@ -12,6 +12,8 @@ namespace Pulumi.Azure.Orbital /// /// Manages a Contact profile. /// + /// > **Note:** The `azure.orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + /// /// ## Example Usage /// /// ```csharp diff --git a/sdk/dotnet/Orbital/Spacecraft.cs b/sdk/dotnet/Orbital/Spacecraft.cs index 09399d0a49..2bdf611116 100644 --- a/sdk/dotnet/Orbital/Spacecraft.cs +++ b/sdk/dotnet/Orbital/Spacecraft.cs @@ -12,6 +12,8 @@ namespace Pulumi.Azure.Orbital /// /// Manages a Spacecraft. /// + /// > **Note:** The `azure.orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + /// /// ## Example Usage /// /// ```csharp diff --git a/sdk/dotnet/Search/Service.cs b/sdk/dotnet/Search/Service.cs index c589192fea..50a6380869 100644 --- a/sdk/dotnet/Search/Service.cs +++ b/sdk/dotnet/Search/Service.cs @@ -169,6 +169,12 @@ public partial class Service : global::Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; + /// + /// Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + /// + [Output("networkRuleBypassOption")] + public Output NetworkRuleBypassOption { get; private set; } = null!; + /// /// Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. /// @@ -348,6 +354,12 @@ public InputList AllowedIps [Input("name")] public Input? Name { get; set; } + /// + /// Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + /// + [Input("networkRuleBypassOption")] + public Input? NetworkRuleBypassOption { get; set; } + /// /// Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. /// @@ -478,6 +490,12 @@ public InputList AllowedIps [Input("name")] public Input? Name { get; set; } + /// + /// Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + /// + [Input("networkRuleBypassOption")] + public Input? NetworkRuleBypassOption { get; set; } + /// /// Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. /// diff --git a/sdk/dotnet/Storage/GetStorageContainer.cs b/sdk/dotnet/Storage/GetStorageContainer.cs index 33624159d7..787071c0fa 100644 --- a/sdk/dotnet/Storage/GetStorageContainer.cs +++ b/sdk/dotnet/Storage/GetStorageContainer.cs @@ -127,7 +127,7 @@ public Dictionary Metadata public string Name { get; set; } = null!; /// - /// The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + /// The id 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. /// @@ -167,7 +167,7 @@ public InputMap Metadata public Input Name { get; set; } = null!; /// - /// The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + /// The id 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. /// diff --git a/sdk/go/azure/apimanagement/apiDiagnostic.go b/sdk/go/azure/apimanagement/apiDiagnostic.go index aafe2f7b8c..4d6999734e 100644 --- a/sdk/go/azure/apimanagement/apiDiagnostic.go +++ b/sdk/go/azure/apimanagement/apiDiagnostic.go @@ -69,7 +69,7 @@ import ( // }, // Import: &apimanagement.ApiImportArgs{ // ContentFormat: pulumi.String("swagger-link-json"), -// ContentValue: pulumi.String("http://conferenceapi.azurewebsites.net/?format=json"), +// ContentValue: pulumi.String("https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json"), // }, // }) // if err != nil { diff --git a/sdk/go/azure/apimanagement/apiRelease.go b/sdk/go/azure/apimanagement/apiRelease.go index 2e47213062..d4f5b048a9 100644 --- a/sdk/go/azure/apimanagement/apiRelease.go +++ b/sdk/go/azure/apimanagement/apiRelease.go @@ -59,7 +59,7 @@ import ( // }, // Import: &apimanagement.ApiImportArgs{ // ContentFormat: pulumi.String("swagger-link-json"), -// ContentValue: pulumi.String("http://conferenceapi.azurewebsites.net/?format=json"), +// ContentValue: pulumi.String("https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json"), // }, // }) // if err != nil { diff --git a/sdk/go/azure/appservice/pulumiTypes.go b/sdk/go/azure/appservice/pulumiTypes.go index 12e7bc503b..8316f0f44a 100644 --- a/sdk/go/azure/appservice/pulumiTypes.go +++ b/sdk/go/azure/appservice/pulumiTypes.go @@ -18797,7 +18797,9 @@ type LinuxFunctionAppSiteConfigApplicationStack struct { Dockers []LinuxFunctionAppSiteConfigApplicationStackDocker `pulumi:"dockers"` // The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0`, `8.0` and `9.0`. DotnetVersion *string `pulumi:"dotnetVersion"` - // The Version of Java to use. Supported versions include `8`, `11` & `17`. + // The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + // + // > **NOTE:** The value `21` is currently in Preview for `javaVersion`. JavaVersion *string `pulumi:"javaVersion"` // The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`. NodeVersion *string `pulumi:"nodeVersion"` @@ -18827,7 +18829,9 @@ type LinuxFunctionAppSiteConfigApplicationStackArgs struct { Dockers LinuxFunctionAppSiteConfigApplicationStackDockerArrayInput `pulumi:"dockers"` // The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0`, `8.0` and `9.0`. DotnetVersion pulumi.StringPtrInput `pulumi:"dotnetVersion"` - // The Version of Java to use. Supported versions include `8`, `11` & `17`. + // The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + // + // > **NOTE:** The value `21` is currently in Preview for `javaVersion`. JavaVersion pulumi.StringPtrInput `pulumi:"javaVersion"` // The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`. NodeVersion pulumi.StringPtrInput `pulumi:"nodeVersion"` @@ -18930,7 +18934,9 @@ func (o LinuxFunctionAppSiteConfigApplicationStackOutput) DotnetVersion() pulumi return o.ApplyT(func(v LinuxFunctionAppSiteConfigApplicationStack) *string { return v.DotnetVersion }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Supported versions include `8`, `11` & `17`. +// The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. +// +// > **NOTE:** The value `21` is currently in Preview for `javaVersion`. func (o LinuxFunctionAppSiteConfigApplicationStackOutput) JavaVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v LinuxFunctionAppSiteConfigApplicationStack) *string { return v.JavaVersion }).(pulumi.StringPtrOutput) } @@ -19004,7 +19010,9 @@ func (o LinuxFunctionAppSiteConfigApplicationStackPtrOutput) DotnetVersion() pul }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Supported versions include `8`, `11` & `17`. +// The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. +// +// > **NOTE:** The value `21` is currently in Preview for `javaVersion`. func (o LinuxFunctionAppSiteConfigApplicationStackPtrOutput) JavaVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *LinuxFunctionAppSiteConfigApplicationStack) *string { if v == nil { @@ -25336,7 +25344,7 @@ type LinuxFunctionAppSlotSiteConfig struct { LoadBalancingMode *string `pulumi:"loadBalancingMode"` // The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. ManagedPipelineMode *string `pulumi:"managedPipelineMode"` - // 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`. + // 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`. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. PreWarmedInstanceCount *int `pulumi:"preWarmedInstanceCount"` @@ -25352,7 +25360,7 @@ type LinuxFunctionAppSlotSiteConfig struct { ScmIpRestrictionDefaultAction *string `pulumi:"scmIpRestrictionDefaultAction"` // a `scmIpRestriction` block as detailed below. ScmIpRestrictions []LinuxFunctionAppSlotSiteConfigScmIpRestriction `pulumi:"scmIpRestrictions"` - // 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`. + // Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. ScmMinimumTlsVersion *string `pulumi:"scmMinimumTlsVersion"` // The SCM Type in use by the Linux Function App. ScmType *string `pulumi:"scmType"` @@ -25430,7 +25438,7 @@ type LinuxFunctionAppSlotSiteConfigArgs struct { LoadBalancingMode pulumi.StringPtrInput `pulumi:"loadBalancingMode"` // The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. ManagedPipelineMode pulumi.StringPtrInput `pulumi:"managedPipelineMode"` - // 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`. + // 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`. MinimumTlsVersion pulumi.StringPtrInput `pulumi:"minimumTlsVersion"` // The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. PreWarmedInstanceCount pulumi.IntPtrInput `pulumi:"preWarmedInstanceCount"` @@ -25446,7 +25454,7 @@ type LinuxFunctionAppSlotSiteConfigArgs struct { ScmIpRestrictionDefaultAction pulumi.StringPtrInput `pulumi:"scmIpRestrictionDefaultAction"` // a `scmIpRestriction` block as detailed below. ScmIpRestrictions LinuxFunctionAppSlotSiteConfigScmIpRestrictionArrayInput `pulumi:"scmIpRestrictions"` - // 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`. + // Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. ScmMinimumTlsVersion pulumi.StringPtrInput `pulumi:"scmMinimumTlsVersion"` // The SCM Type in use by the Linux Function App. ScmType pulumi.StringPtrInput `pulumi:"scmType"` @@ -25670,7 +25678,7 @@ func (o LinuxFunctionAppSlotSiteConfigOutput) ManagedPipelineMode() pulumi.Strin return o.ApplyT(func(v LinuxFunctionAppSlotSiteConfig) *string { return v.ManagedPipelineMode }).(pulumi.StringPtrOutput) } -// 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`. +// 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`. func (o LinuxFunctionAppSlotSiteConfigOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v LinuxFunctionAppSlotSiteConfig) *string { return v.MinimumTlsVersion }).(pulumi.StringPtrOutput) } @@ -25709,7 +25717,7 @@ func (o LinuxFunctionAppSlotSiteConfigOutput) ScmIpRestrictions() LinuxFunctionA }).(LinuxFunctionAppSlotSiteConfigScmIpRestrictionArrayOutput) } -// 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`. +// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. func (o LinuxFunctionAppSlotSiteConfigOutput) ScmMinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v LinuxFunctionAppSlotSiteConfig) *string { return v.ScmMinimumTlsVersion }).(pulumi.StringPtrOutput) } @@ -26018,7 +26026,7 @@ func (o LinuxFunctionAppSlotSiteConfigPtrOutput) ManagedPipelineMode() pulumi.St }).(pulumi.StringPtrOutput) } -// 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`. +// 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`. func (o LinuxFunctionAppSlotSiteConfigPtrOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *LinuxFunctionAppSlotSiteConfig) *string { if v == nil { @@ -26090,7 +26098,7 @@ func (o LinuxFunctionAppSlotSiteConfigPtrOutput) ScmIpRestrictions() LinuxFuncti }).(LinuxFunctionAppSlotSiteConfigScmIpRestrictionArrayOutput) } -// 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`. +// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. func (o LinuxFunctionAppSlotSiteConfigPtrOutput) ScmMinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *LinuxFunctionAppSlotSiteConfig) *string { if v == nil { @@ -34986,7 +34994,7 @@ type LinuxWebAppSiteConfigApplicationStack struct { JavaServer *string `pulumi:"javaServer"` // The Version of the `javaServer` to use. JavaServerVersion *string `pulumi:"javaServerVersion"` - // The Version of Java to use. Possible values include `8`, `11`, and `17`. + // The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. // // > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. // @@ -35038,7 +35046,7 @@ type LinuxWebAppSiteConfigApplicationStackArgs struct { JavaServer pulumi.StringPtrInput `pulumi:"javaServer"` // The Version of the `javaServer` to use. JavaServerVersion pulumi.StringPtrInput `pulumi:"javaServerVersion"` - // The Version of Java to use. Possible values include `8`, `11`, and `17`. + // The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. // // > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. // @@ -35179,7 +35187,7 @@ func (o LinuxWebAppSiteConfigApplicationStackOutput) JavaServerVersion() pulumi. return o.ApplyT(func(v LinuxWebAppSiteConfigApplicationStack) *string { return v.JavaServerVersion }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Possible values include `8`, `11`, and `17`. +// The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. // // > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. // @@ -35320,7 +35328,7 @@ func (o LinuxWebAppSiteConfigApplicationStackPtrOutput) JavaServerVersion() pulu }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Possible values include `8`, `11`, and `17`. +// The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. // // > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. // @@ -59585,7 +59593,7 @@ func (o WindowsFunctionAppSiteConfigAppServiceLogsPtrOutput) RetentionPeriodDays type WindowsFunctionAppSiteConfigApplicationStack struct { // The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0`, `v8.0` and `v9.0`. Defaults to `v4.0`. DotnetVersion *string `pulumi:"dotnetVersion"` - // The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + // The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). JavaVersion *string `pulumi:"javaVersion"` // The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`. NodeVersion *string `pulumi:"nodeVersion"` @@ -59613,7 +59621,7 @@ type WindowsFunctionAppSiteConfigApplicationStackInput interface { type WindowsFunctionAppSiteConfigApplicationStackArgs struct { // The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0`, `v8.0` and `v9.0`. Defaults to `v4.0`. DotnetVersion pulumi.StringPtrInput `pulumi:"dotnetVersion"` - // The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + // The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). JavaVersion pulumi.StringPtrInput `pulumi:"javaVersion"` // The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`. NodeVersion pulumi.StringPtrInput `pulumi:"nodeVersion"` @@ -59709,7 +59717,7 @@ func (o WindowsFunctionAppSiteConfigApplicationStackOutput) DotnetVersion() pulu return o.ApplyT(func(v WindowsFunctionAppSiteConfigApplicationStack) *string { return v.DotnetVersion }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). +// The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). func (o WindowsFunctionAppSiteConfigApplicationStackOutput) JavaVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v WindowsFunctionAppSiteConfigApplicationStack) *string { return v.JavaVersion }).(pulumi.StringPtrOutput) } @@ -59770,7 +59778,7 @@ func (o WindowsFunctionAppSiteConfigApplicationStackPtrOutput) DotnetVersion() p }).(pulumi.StringPtrOutput) } -// The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). +// The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). func (o WindowsFunctionAppSiteConfigApplicationStackPtrOutput) JavaVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *WindowsFunctionAppSiteConfigApplicationStack) *string { if v == nil { @@ -65951,7 +65959,7 @@ type WindowsFunctionAppSlotSiteConfig struct { LoadBalancingMode *string `pulumi:"loadBalancingMode"` // The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. ManagedPipelineMode *string `pulumi:"managedPipelineMode"` - // 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`. + // 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`. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. PreWarmedInstanceCount *int `pulumi:"preWarmedInstanceCount"` @@ -65967,7 +65975,7 @@ type WindowsFunctionAppSlotSiteConfig struct { ScmIpRestrictionDefaultAction *string `pulumi:"scmIpRestrictionDefaultAction"` // a `scmIpRestriction` block as detailed below. ScmIpRestrictions []WindowsFunctionAppSlotSiteConfigScmIpRestriction `pulumi:"scmIpRestrictions"` - // 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`. + // Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. ScmMinimumTlsVersion *string `pulumi:"scmMinimumTlsVersion"` // The SCM Type in use by the Windows Function App. ScmType *string `pulumi:"scmType"` @@ -66041,7 +66049,7 @@ type WindowsFunctionAppSlotSiteConfigArgs struct { LoadBalancingMode pulumi.StringPtrInput `pulumi:"loadBalancingMode"` // The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. ManagedPipelineMode pulumi.StringPtrInput `pulumi:"managedPipelineMode"` - // 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`. + // 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`. MinimumTlsVersion pulumi.StringPtrInput `pulumi:"minimumTlsVersion"` // The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. PreWarmedInstanceCount pulumi.IntPtrInput `pulumi:"preWarmedInstanceCount"` @@ -66057,7 +66065,7 @@ type WindowsFunctionAppSlotSiteConfigArgs struct { ScmIpRestrictionDefaultAction pulumi.StringPtrInput `pulumi:"scmIpRestrictionDefaultAction"` // a `scmIpRestriction` block as detailed below. ScmIpRestrictions WindowsFunctionAppSlotSiteConfigScmIpRestrictionArrayInput `pulumi:"scmIpRestrictions"` - // 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`. + // Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. ScmMinimumTlsVersion pulumi.StringPtrInput `pulumi:"scmMinimumTlsVersion"` // The SCM Type in use by the Windows Function App. ScmType pulumi.StringPtrInput `pulumi:"scmType"` @@ -66268,7 +66276,7 @@ func (o WindowsFunctionAppSlotSiteConfigOutput) ManagedPipelineMode() pulumi.Str return o.ApplyT(func(v WindowsFunctionAppSlotSiteConfig) *string { return v.ManagedPipelineMode }).(pulumi.StringPtrOutput) } -// 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`. +// 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`. func (o WindowsFunctionAppSlotSiteConfigOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v WindowsFunctionAppSlotSiteConfig) *string { return v.MinimumTlsVersion }).(pulumi.StringPtrOutput) } @@ -66307,7 +66315,7 @@ func (o WindowsFunctionAppSlotSiteConfigOutput) ScmIpRestrictions() WindowsFunct }).(WindowsFunctionAppSlotSiteConfigScmIpRestrictionArrayOutput) } -// 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`. +// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. func (o WindowsFunctionAppSlotSiteConfigOutput) ScmMinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v WindowsFunctionAppSlotSiteConfig) *string { return v.ScmMinimumTlsVersion }).(pulumi.StringPtrOutput) } @@ -66591,7 +66599,7 @@ func (o WindowsFunctionAppSlotSiteConfigPtrOutput) ManagedPipelineMode() pulumi. }).(pulumi.StringPtrOutput) } -// 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`. +// 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`. func (o WindowsFunctionAppSlotSiteConfigPtrOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *WindowsFunctionAppSlotSiteConfig) *string { if v == nil { @@ -66663,7 +66671,7 @@ func (o WindowsFunctionAppSlotSiteConfigPtrOutput) ScmIpRestrictions() WindowsFu }).(WindowsFunctionAppSlotSiteConfigScmIpRestrictionArrayOutput) } -// 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`. +// Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. func (o WindowsFunctionAppSlotSiteConfigPtrOutput) ScmMinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *WindowsFunctionAppSlotSiteConfig) *string { if v == nil { diff --git a/sdk/go/azure/automation/softwareUpdateConfiguration.go b/sdk/go/azure/automation/softwareUpdateConfiguration.go index 4efe5fae50..211c14b295 100644 --- a/sdk/go/azure/automation/softwareUpdateConfiguration.go +++ b/sdk/go/azure/automation/softwareUpdateConfiguration.go @@ -12,7 +12,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Manages an Automation Software Update Configuraion. +// Manages an Automation Software Update Configuration. // // ## Example Usage // diff --git a/sdk/go/azure/cognitive/accountRaiBlocklist.go b/sdk/go/azure/cognitive/accountRaiBlocklist.go new file mode 100644 index 0000000000..acdc310b03 --- /dev/null +++ b/sdk/go/azure/cognitive/accountRaiBlocklist.go @@ -0,0 +1,303 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cognitive + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages a Cognitive Account Rai Blocklist. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive" +// "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ +// Name: pulumi.String("example-resources"), +// Location: pulumi.String("Brazil South"), +// }) +// if err != nil { +// return err +// } +// exampleAccount, err := cognitive.NewAccount(ctx, "example", &cognitive.AccountArgs{ +// Name: pulumi.String("example-ca"), +// Location: example.Location, +// ResourceGroupName: example.Name, +// Kind: pulumi.String("OpenAI"), +// SkuName: pulumi.String("S0"), +// }) +// if err != nil { +// return err +// } +// _, err = cognitive.NewAccountRaiBlocklist(ctx, "example", &cognitive.AccountRaiBlocklistArgs{ +// Name: pulumi.String("example-crb"), +// CognitiveAccountId: exampleAccount.ID(), +// Description: pulumi.String("Azure OpenAI Rai Blocklist"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. +// +// ```sh +// $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 +// ``` +type AccountRaiBlocklist struct { + pulumi.CustomResourceState + + // The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + CognitiveAccountId pulumi.StringOutput `pulumi:"cognitiveAccountId"` + // A short description for the Cognitive Account Rai Blocklist. + Description pulumi.StringPtrOutput `pulumi:"description"` + // The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + Name pulumi.StringOutput `pulumi:"name"` +} + +// NewAccountRaiBlocklist registers a new resource with the given unique name, arguments, and options. +func NewAccountRaiBlocklist(ctx *pulumi.Context, + name string, args *AccountRaiBlocklistArgs, opts ...pulumi.ResourceOption) (*AccountRaiBlocklist, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CognitiveAccountId == nil { + return nil, errors.New("invalid value for required argument 'CognitiveAccountId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AccountRaiBlocklist + err := ctx.RegisterResource("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAccountRaiBlocklist gets an existing AccountRaiBlocklist resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAccountRaiBlocklist(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AccountRaiBlocklistState, opts ...pulumi.ResourceOption) (*AccountRaiBlocklist, error) { + var resource AccountRaiBlocklist + err := ctx.ReadResource("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AccountRaiBlocklist resources. +type accountRaiBlocklistState struct { + // The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + CognitiveAccountId *string `pulumi:"cognitiveAccountId"` + // A short description for the Cognitive Account Rai Blocklist. + Description *string `pulumi:"description"` + // The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + Name *string `pulumi:"name"` +} + +type AccountRaiBlocklistState struct { + // The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + CognitiveAccountId pulumi.StringPtrInput + // A short description for the Cognitive Account Rai Blocklist. + Description pulumi.StringPtrInput + // The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + Name pulumi.StringPtrInput +} + +func (AccountRaiBlocklistState) ElementType() reflect.Type { + return reflect.TypeOf((*accountRaiBlocklistState)(nil)).Elem() +} + +type accountRaiBlocklistArgs struct { + // The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + CognitiveAccountId string `pulumi:"cognitiveAccountId"` + // A short description for the Cognitive Account Rai Blocklist. + Description *string `pulumi:"description"` + // The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + Name *string `pulumi:"name"` +} + +// The set of arguments for constructing a AccountRaiBlocklist resource. +type AccountRaiBlocklistArgs struct { + // The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + CognitiveAccountId pulumi.StringInput + // A short description for the Cognitive Account Rai Blocklist. + Description pulumi.StringPtrInput + // The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + Name pulumi.StringPtrInput +} + +func (AccountRaiBlocklistArgs) ElementType() reflect.Type { + return reflect.TypeOf((*accountRaiBlocklistArgs)(nil)).Elem() +} + +type AccountRaiBlocklistInput interface { + pulumi.Input + + ToAccountRaiBlocklistOutput() AccountRaiBlocklistOutput + ToAccountRaiBlocklistOutputWithContext(ctx context.Context) AccountRaiBlocklistOutput +} + +func (*AccountRaiBlocklist) ElementType() reflect.Type { + return reflect.TypeOf((**AccountRaiBlocklist)(nil)).Elem() +} + +func (i *AccountRaiBlocklist) ToAccountRaiBlocklistOutput() AccountRaiBlocklistOutput { + return i.ToAccountRaiBlocklistOutputWithContext(context.Background()) +} + +func (i *AccountRaiBlocklist) ToAccountRaiBlocklistOutputWithContext(ctx context.Context) AccountRaiBlocklistOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccountRaiBlocklistOutput) +} + +// AccountRaiBlocklistArrayInput is an input type that accepts AccountRaiBlocklistArray and AccountRaiBlocklistArrayOutput values. +// You can construct a concrete instance of `AccountRaiBlocklistArrayInput` via: +// +// AccountRaiBlocklistArray{ AccountRaiBlocklistArgs{...} } +type AccountRaiBlocklistArrayInput interface { + pulumi.Input + + ToAccountRaiBlocklistArrayOutput() AccountRaiBlocklistArrayOutput + ToAccountRaiBlocklistArrayOutputWithContext(context.Context) AccountRaiBlocklistArrayOutput +} + +type AccountRaiBlocklistArray []AccountRaiBlocklistInput + +func (AccountRaiBlocklistArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AccountRaiBlocklist)(nil)).Elem() +} + +func (i AccountRaiBlocklistArray) ToAccountRaiBlocklistArrayOutput() AccountRaiBlocklistArrayOutput { + return i.ToAccountRaiBlocklistArrayOutputWithContext(context.Background()) +} + +func (i AccountRaiBlocklistArray) ToAccountRaiBlocklistArrayOutputWithContext(ctx context.Context) AccountRaiBlocklistArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccountRaiBlocklistArrayOutput) +} + +// AccountRaiBlocklistMapInput is an input type that accepts AccountRaiBlocklistMap and AccountRaiBlocklistMapOutput values. +// You can construct a concrete instance of `AccountRaiBlocklistMapInput` via: +// +// AccountRaiBlocklistMap{ "key": AccountRaiBlocklistArgs{...} } +type AccountRaiBlocklistMapInput interface { + pulumi.Input + + ToAccountRaiBlocklistMapOutput() AccountRaiBlocklistMapOutput + ToAccountRaiBlocklistMapOutputWithContext(context.Context) AccountRaiBlocklistMapOutput +} + +type AccountRaiBlocklistMap map[string]AccountRaiBlocklistInput + +func (AccountRaiBlocklistMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AccountRaiBlocklist)(nil)).Elem() +} + +func (i AccountRaiBlocklistMap) ToAccountRaiBlocklistMapOutput() AccountRaiBlocklistMapOutput { + return i.ToAccountRaiBlocklistMapOutputWithContext(context.Background()) +} + +func (i AccountRaiBlocklistMap) ToAccountRaiBlocklistMapOutputWithContext(ctx context.Context) AccountRaiBlocklistMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccountRaiBlocklistMapOutput) +} + +type AccountRaiBlocklistOutput struct{ *pulumi.OutputState } + +func (AccountRaiBlocklistOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AccountRaiBlocklist)(nil)).Elem() +} + +func (o AccountRaiBlocklistOutput) ToAccountRaiBlocklistOutput() AccountRaiBlocklistOutput { + return o +} + +func (o AccountRaiBlocklistOutput) ToAccountRaiBlocklistOutputWithContext(ctx context.Context) AccountRaiBlocklistOutput { + return o +} + +// The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. +func (o AccountRaiBlocklistOutput) CognitiveAccountId() pulumi.StringOutput { + return o.ApplyT(func(v *AccountRaiBlocklist) pulumi.StringOutput { return v.CognitiveAccountId }).(pulumi.StringOutput) +} + +// A short description for the Cognitive Account Rai Blocklist. +func (o AccountRaiBlocklistOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AccountRaiBlocklist) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. +func (o AccountRaiBlocklistOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AccountRaiBlocklist) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +type AccountRaiBlocklistArrayOutput struct{ *pulumi.OutputState } + +func (AccountRaiBlocklistArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AccountRaiBlocklist)(nil)).Elem() +} + +func (o AccountRaiBlocklistArrayOutput) ToAccountRaiBlocklistArrayOutput() AccountRaiBlocklistArrayOutput { + return o +} + +func (o AccountRaiBlocklistArrayOutput) ToAccountRaiBlocklistArrayOutputWithContext(ctx context.Context) AccountRaiBlocklistArrayOutput { + return o +} + +func (o AccountRaiBlocklistArrayOutput) Index(i pulumi.IntInput) AccountRaiBlocklistOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AccountRaiBlocklist { + return vs[0].([]*AccountRaiBlocklist)[vs[1].(int)] + }).(AccountRaiBlocklistOutput) +} + +type AccountRaiBlocklistMapOutput struct{ *pulumi.OutputState } + +func (AccountRaiBlocklistMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AccountRaiBlocklist)(nil)).Elem() +} + +func (o AccountRaiBlocklistMapOutput) ToAccountRaiBlocklistMapOutput() AccountRaiBlocklistMapOutput { + return o +} + +func (o AccountRaiBlocklistMapOutput) ToAccountRaiBlocklistMapOutputWithContext(ctx context.Context) AccountRaiBlocklistMapOutput { + return o +} + +func (o AccountRaiBlocklistMapOutput) MapIndex(k pulumi.StringInput) AccountRaiBlocklistOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AccountRaiBlocklist { + return vs[0].(map[string]*AccountRaiBlocklist)[vs[1].(string)] + }).(AccountRaiBlocklistOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AccountRaiBlocklistInput)(nil)).Elem(), &AccountRaiBlocklist{}) + pulumi.RegisterInputType(reflect.TypeOf((*AccountRaiBlocklistArrayInput)(nil)).Elem(), AccountRaiBlocklistArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AccountRaiBlocklistMapInput)(nil)).Elem(), AccountRaiBlocklistMap{}) + pulumi.RegisterOutputType(AccountRaiBlocklistOutput{}) + pulumi.RegisterOutputType(AccountRaiBlocklistArrayOutput{}) + pulumi.RegisterOutputType(AccountRaiBlocklistMapOutput{}) +} diff --git a/sdk/go/azure/cognitive/init.go b/sdk/go/azure/cognitive/init.go index e56b4afc02..16c6eb8bcb 100644 --- a/sdk/go/azure/cognitive/init.go +++ b/sdk/go/azure/cognitive/init.go @@ -27,6 +27,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Account{} case "azure:cognitive/accountCustomerManagedKey:AccountCustomerManagedKey": r = &AccountCustomerManagedKey{} + case "azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist": + r = &AccountRaiBlocklist{} case "azure:cognitive/deployment:Deployment": r = &Deployment{} default: @@ -57,6 +59,11 @@ func init() { "cognitive/accountCustomerManagedKey", &module{version}, ) + pulumi.RegisterResourceModule( + "azure", + "cognitive/accountRaiBlocklist", + &module{version}, + ) pulumi.RegisterResourceModule( "azure", "cognitive/deployment", diff --git a/sdk/go/azure/compute/managedDisk.go b/sdk/go/azure/compute/managedDisk.go index 33c7450190..95ecc6e59d 100644 --- a/sdk/go/azure/compute/managedDisk.go +++ b/sdk/go/azure/compute/managedDisk.go @@ -190,8 +190,6 @@ type ManagedDisk struct { // Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. OsType pulumi.StringPtrOutput `pulumi:"osType"` // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - // - // > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. PerformancePlusEnabled pulumi.BoolPtrOutput `pulumi:"performancePlusEnabled"` // Whether it is allowed to access the disk via public network. Defaults to `true`. // @@ -340,8 +338,6 @@ type managedDiskState struct { // Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. OsType *string `pulumi:"osType"` // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - // - // > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. PerformancePlusEnabled *bool `pulumi:"performancePlusEnabled"` // Whether it is allowed to access the disk via public network. Defaults to `true`. // @@ -452,8 +448,6 @@ type ManagedDiskState struct { // Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. OsType pulumi.StringPtrInput // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - // - // > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. PerformancePlusEnabled pulumi.BoolPtrInput // Whether it is allowed to access the disk via public network. Defaults to `true`. // @@ -568,8 +562,6 @@ type managedDiskArgs struct { // Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. OsType *string `pulumi:"osType"` // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - // - // > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. PerformancePlusEnabled *bool `pulumi:"performancePlusEnabled"` // Whether it is allowed to access the disk via public network. Defaults to `true`. // @@ -681,8 +673,6 @@ type ManagedDiskArgs struct { // Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. OsType pulumi.StringPtrInput // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - // - // > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. PerformancePlusEnabled pulumi.BoolPtrInput // Whether it is allowed to access the disk via public network. Defaults to `true`. // @@ -942,8 +932,6 @@ func (o ManagedDiskOutput) OsType() pulumi.StringPtrOutput { } // Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. -// -// > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. func (o ManagedDiskOutput) PerformancePlusEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ManagedDisk) pulumi.BoolPtrOutput { return v.PerformancePlusEnabled }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/azure/fabric/capacity.go b/sdk/go/azure/fabric/capacity.go new file mode 100644 index 0000000000..41322d5d9f --- /dev/null +++ b/sdk/go/azure/fabric/capacity.go @@ -0,0 +1,355 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fabric + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages a Fabric Capacity. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" +// "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/fabric" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil) +// if err != nil { +// return err +// } +// example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ +// Name: pulumi.String("example-resources"), +// Location: pulumi.String("West Europe"), +// }) +// if err != nil { +// return err +// } +// _, err = fabric.NewCapacity(ctx, "example", &fabric.CapacityArgs{ +// Name: pulumi.String("example-ffc"), +// ResourceGroupName: example.Name, +// Location: pulumi.String("West Europe"), +// AdministrationMembers: pulumi.StringArray{ +// pulumi.String(current.ObjectId), +// }, +// Sku: &fabric.CapacitySkuArgs{ +// Name: pulumi.String("F32"), +// Tier: pulumi.String("Fabric"), +// }, +// Tags: pulumi.StringMap{ +// "environment": pulumi.String("test"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Fabric Capacities can be imported using the `resource id`, e.g. +// +// ```sh +// $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 +// ``` +type Capacity struct { + pulumi.CustomResourceState + + // An array of administrator user identities. The member must be an Entra member user or a service principal. + AdministrationMembers pulumi.StringArrayOutput `pulumi:"administrationMembers"` + // The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + Location pulumi.StringOutput `pulumi:"location"` + // The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + Name pulumi.StringOutput `pulumi:"name"` + // The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` + // A `sku` block as defined below. + Sku CapacitySkuOutput `pulumi:"sku"` + // A mapping of tags to assign to the Fabric Capacity. + Tags pulumi.StringMapOutput `pulumi:"tags"` +} + +// NewCapacity registers a new resource with the given unique name, arguments, and options. +func NewCapacity(ctx *pulumi.Context, + name string, args *CapacityArgs, opts ...pulumi.ResourceOption) (*Capacity, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + if args.Sku == nil { + return nil, errors.New("invalid value for required argument 'Sku'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Capacity + err := ctx.RegisterResource("azure:fabric/capacity:Capacity", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCapacity gets an existing Capacity resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCapacity(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CapacityState, opts ...pulumi.ResourceOption) (*Capacity, error) { + var resource Capacity + err := ctx.ReadResource("azure:fabric/capacity:Capacity", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Capacity resources. +type capacityState struct { + // An array of administrator user identities. The member must be an Entra member user or a service principal. + AdministrationMembers []string `pulumi:"administrationMembers"` + // The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + Location *string `pulumi:"location"` + // The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + Name *string `pulumi:"name"` + // The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + ResourceGroupName *string `pulumi:"resourceGroupName"` + // A `sku` block as defined below. + Sku *CapacitySku `pulumi:"sku"` + // A mapping of tags to assign to the Fabric Capacity. + Tags map[string]string `pulumi:"tags"` +} + +type CapacityState struct { + // An array of administrator user identities. The member must be an Entra member user or a service principal. + AdministrationMembers pulumi.StringArrayInput + // The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + Location pulumi.StringPtrInput + // The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + Name pulumi.StringPtrInput + // The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringPtrInput + // A `sku` block as defined below. + Sku CapacitySkuPtrInput + // A mapping of tags to assign to the Fabric Capacity. + Tags pulumi.StringMapInput +} + +func (CapacityState) ElementType() reflect.Type { + return reflect.TypeOf((*capacityState)(nil)).Elem() +} + +type capacityArgs struct { + // An array of administrator user identities. The member must be an Entra member user or a service principal. + AdministrationMembers []string `pulumi:"administrationMembers"` + // The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + Location *string `pulumi:"location"` + // The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + Name *string `pulumi:"name"` + // The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + ResourceGroupName string `pulumi:"resourceGroupName"` + // A `sku` block as defined below. + Sku CapacitySku `pulumi:"sku"` + // A mapping of tags to assign to the Fabric Capacity. + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a Capacity resource. +type CapacityArgs struct { + // An array of administrator user identities. The member must be an Entra member user or a service principal. + AdministrationMembers pulumi.StringArrayInput + // The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + Location pulumi.StringPtrInput + // The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + Name pulumi.StringPtrInput + // The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringInput + // A `sku` block as defined below. + Sku CapacitySkuInput + // A mapping of tags to assign to the Fabric Capacity. + Tags pulumi.StringMapInput +} + +func (CapacityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*capacityArgs)(nil)).Elem() +} + +type CapacityInput interface { + pulumi.Input + + ToCapacityOutput() CapacityOutput + ToCapacityOutputWithContext(ctx context.Context) CapacityOutput +} + +func (*Capacity) ElementType() reflect.Type { + return reflect.TypeOf((**Capacity)(nil)).Elem() +} + +func (i *Capacity) ToCapacityOutput() CapacityOutput { + return i.ToCapacityOutputWithContext(context.Background()) +} + +func (i *Capacity) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityOutput) +} + +// CapacityArrayInput is an input type that accepts CapacityArray and CapacityArrayOutput values. +// You can construct a concrete instance of `CapacityArrayInput` via: +// +// CapacityArray{ CapacityArgs{...} } +type CapacityArrayInput interface { + pulumi.Input + + ToCapacityArrayOutput() CapacityArrayOutput + ToCapacityArrayOutputWithContext(context.Context) CapacityArrayOutput +} + +type CapacityArray []CapacityInput + +func (CapacityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Capacity)(nil)).Elem() +} + +func (i CapacityArray) ToCapacityArrayOutput() CapacityArrayOutput { + return i.ToCapacityArrayOutputWithContext(context.Background()) +} + +func (i CapacityArray) ToCapacityArrayOutputWithContext(ctx context.Context) CapacityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityArrayOutput) +} + +// CapacityMapInput is an input type that accepts CapacityMap and CapacityMapOutput values. +// You can construct a concrete instance of `CapacityMapInput` via: +// +// CapacityMap{ "key": CapacityArgs{...} } +type CapacityMapInput interface { + pulumi.Input + + ToCapacityMapOutput() CapacityMapOutput + ToCapacityMapOutputWithContext(context.Context) CapacityMapOutput +} + +type CapacityMap map[string]CapacityInput + +func (CapacityMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Capacity)(nil)).Elem() +} + +func (i CapacityMap) ToCapacityMapOutput() CapacityMapOutput { + return i.ToCapacityMapOutputWithContext(context.Background()) +} + +func (i CapacityMap) ToCapacityMapOutputWithContext(ctx context.Context) CapacityMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityMapOutput) +} + +type CapacityOutput struct{ *pulumi.OutputState } + +func (CapacityOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Capacity)(nil)).Elem() +} + +func (o CapacityOutput) ToCapacityOutput() CapacityOutput { + return o +} + +func (o CapacityOutput) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput { + return o +} + +// An array of administrator user identities. The member must be an Entra member user or a service principal. +func (o CapacityOutput) AdministrationMembers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Capacity) pulumi.StringArrayOutput { return v.AdministrationMembers }).(pulumi.StringArrayOutput) +} + +// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. +func (o CapacityOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v *Capacity) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) +} + +// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. +func (o CapacityOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Capacity) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. +func (o CapacityOutput) ResourceGroupName() pulumi.StringOutput { + return o.ApplyT(func(v *Capacity) pulumi.StringOutput { return v.ResourceGroupName }).(pulumi.StringOutput) +} + +// A `sku` block as defined below. +func (o CapacityOutput) Sku() CapacitySkuOutput { + return o.ApplyT(func(v *Capacity) CapacitySkuOutput { return v.Sku }).(CapacitySkuOutput) +} + +// A mapping of tags to assign to the Fabric Capacity. +func (o CapacityOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Capacity) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +type CapacityArrayOutput struct{ *pulumi.OutputState } + +func (CapacityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Capacity)(nil)).Elem() +} + +func (o CapacityArrayOutput) ToCapacityArrayOutput() CapacityArrayOutput { + return o +} + +func (o CapacityArrayOutput) ToCapacityArrayOutputWithContext(ctx context.Context) CapacityArrayOutput { + return o +} + +func (o CapacityArrayOutput) Index(i pulumi.IntInput) CapacityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Capacity { + return vs[0].([]*Capacity)[vs[1].(int)] + }).(CapacityOutput) +} + +type CapacityMapOutput struct{ *pulumi.OutputState } + +func (CapacityMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Capacity)(nil)).Elem() +} + +func (o CapacityMapOutput) ToCapacityMapOutput() CapacityMapOutput { + return o +} + +func (o CapacityMapOutput) ToCapacityMapOutputWithContext(ctx context.Context) CapacityMapOutput { + return o +} + +func (o CapacityMapOutput) MapIndex(k pulumi.StringInput) CapacityOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Capacity { + return vs[0].(map[string]*Capacity)[vs[1].(string)] + }).(CapacityOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CapacityInput)(nil)).Elem(), &Capacity{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityArrayInput)(nil)).Elem(), CapacityArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityMapInput)(nil)).Elem(), CapacityMap{}) + pulumi.RegisterOutputType(CapacityOutput{}) + pulumi.RegisterOutputType(CapacityArrayOutput{}) + pulumi.RegisterOutputType(CapacityMapOutput{}) +} diff --git a/sdk/go/azure/fabric/init.go b/sdk/go/azure/fabric/init.go new file mode 100644 index 0000000000..ea122bb9d0 --- /dev/null +++ b/sdk/go/azure/fabric/init.go @@ -0,0 +1,44 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fabric + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "azure:fabric/capacity:Capacity": + r = &Capacity{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +func init() { + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "azure", + "fabric/capacity", + &module{version}, + ) +} diff --git a/sdk/go/azure/fabric/pulumiTypes.go b/sdk/go/azure/fabric/pulumiTypes.go new file mode 100644 index 0000000000..57f424e9c2 --- /dev/null +++ b/sdk/go/azure/fabric/pulumiTypes.go @@ -0,0 +1,177 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fabric + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type CapacitySku struct { + // The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + Name string `pulumi:"name"` + // The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + Tier string `pulumi:"tier"` +} + +// CapacitySkuInput is an input type that accepts CapacitySkuArgs and CapacitySkuOutput values. +// You can construct a concrete instance of `CapacitySkuInput` via: +// +// CapacitySkuArgs{...} +type CapacitySkuInput interface { + pulumi.Input + + ToCapacitySkuOutput() CapacitySkuOutput + ToCapacitySkuOutputWithContext(context.Context) CapacitySkuOutput +} + +type CapacitySkuArgs struct { + // The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + Name pulumi.StringInput `pulumi:"name"` + // The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + Tier pulumi.StringInput `pulumi:"tier"` +} + +func (CapacitySkuArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CapacitySku)(nil)).Elem() +} + +func (i CapacitySkuArgs) ToCapacitySkuOutput() CapacitySkuOutput { + return i.ToCapacitySkuOutputWithContext(context.Background()) +} + +func (i CapacitySkuArgs) ToCapacitySkuOutputWithContext(ctx context.Context) CapacitySkuOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacitySkuOutput) +} + +func (i CapacitySkuArgs) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput { + return i.ToCapacitySkuPtrOutputWithContext(context.Background()) +} + +func (i CapacitySkuArgs) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacitySkuOutput).ToCapacitySkuPtrOutputWithContext(ctx) +} + +// CapacitySkuPtrInput is an input type that accepts CapacitySkuArgs, CapacitySkuPtr and CapacitySkuPtrOutput values. +// You can construct a concrete instance of `CapacitySkuPtrInput` via: +// +// CapacitySkuArgs{...} +// +// or: +// +// nil +type CapacitySkuPtrInput interface { + pulumi.Input + + ToCapacitySkuPtrOutput() CapacitySkuPtrOutput + ToCapacitySkuPtrOutputWithContext(context.Context) CapacitySkuPtrOutput +} + +type capacitySkuPtrType CapacitySkuArgs + +func CapacitySkuPtr(v *CapacitySkuArgs) CapacitySkuPtrInput { + return (*capacitySkuPtrType)(v) +} + +func (*capacitySkuPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CapacitySku)(nil)).Elem() +} + +func (i *capacitySkuPtrType) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput { + return i.ToCapacitySkuPtrOutputWithContext(context.Background()) +} + +func (i *capacitySkuPtrType) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacitySkuPtrOutput) +} + +type CapacitySkuOutput struct{ *pulumi.OutputState } + +func (CapacitySkuOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CapacitySku)(nil)).Elem() +} + +func (o CapacitySkuOutput) ToCapacitySkuOutput() CapacitySkuOutput { + return o +} + +func (o CapacitySkuOutput) ToCapacitySkuOutputWithContext(ctx context.Context) CapacitySkuOutput { + return o +} + +func (o CapacitySkuOutput) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput { + return o.ToCapacitySkuPtrOutputWithContext(context.Background()) +} + +func (o CapacitySkuOutput) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CapacitySku) *CapacitySku { + return &v + }).(CapacitySkuPtrOutput) +} + +// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. +func (o CapacitySkuOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v CapacitySku) string { return v.Name }).(pulumi.StringOutput) +} + +// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. +func (o CapacitySkuOutput) Tier() pulumi.StringOutput { + return o.ApplyT(func(v CapacitySku) string { return v.Tier }).(pulumi.StringOutput) +} + +type CapacitySkuPtrOutput struct{ *pulumi.OutputState } + +func (CapacitySkuPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CapacitySku)(nil)).Elem() +} + +func (o CapacitySkuPtrOutput) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput { + return o +} + +func (o CapacitySkuPtrOutput) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput { + return o +} + +func (o CapacitySkuPtrOutput) Elem() CapacitySkuOutput { + return o.ApplyT(func(v *CapacitySku) CapacitySku { + if v != nil { + return *v + } + var ret CapacitySku + return ret + }).(CapacitySkuOutput) +} + +// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. +func (o CapacitySkuPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CapacitySku) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. +func (o CapacitySkuPtrOutput) Tier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CapacitySku) *string { + if v == nil { + return nil + } + return &v.Tier + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CapacitySkuInput)(nil)).Elem(), CapacitySkuArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacitySkuPtrInput)(nil)).Elem(), CapacitySkuArgs{}) + pulumi.RegisterOutputType(CapacitySkuOutput{}) + pulumi.RegisterOutputType(CapacitySkuPtrOutput{}) +} diff --git a/sdk/go/azure/logicapps/pulumiTypes.go b/sdk/go/azure/logicapps/pulumiTypes.go index fbe97dcd84..29759cfa8e 100644 --- a/sdk/go/azure/logicapps/pulumiTypes.go +++ b/sdk/go/azure/logicapps/pulumiTypes.go @@ -1803,6 +1803,8 @@ type StandardSiteConfig struct { // Linux App Framework and version for the App Service, e.g. `DOCKER|(golang:latest)`. Setting this value will also set the `kind` of application deployed to `functionapp,linux,container,workflowapp` LinuxFxVersion *string `pulumi:"linuxFxVersion"` // The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + // + // > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinTlsVersion *string `pulumi:"minTlsVersion"` // The number of pre-warmed instances for this Logic App Only affects apps on the Premium plan. PreWarmedInstanceCount *int `pulumi:"preWarmedInstanceCount"` @@ -1815,6 +1817,8 @@ type StandardSiteConfig struct { // > **NOTE** User has to explicitly set `scmIpRestriction` to empty slice (`[]`) to remove it. ScmIpRestrictions []StandardSiteConfigScmIpRestriction `pulumi:"scmIpRestrictions"` // Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + // + // > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. ScmMinTlsVersion *string `pulumi:"scmMinTlsVersion"` // The type of Source Control used by the Logic App in use by the Windows Function App. Defaults to `None`. Possible values are: `BitbucketGit`, `BitbucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None`, `OneDrive`, `Tfs`, `VSO`, and `VSTSRM` ScmType *string `pulumi:"scmType"` @@ -1867,6 +1871,8 @@ type StandardSiteConfigArgs struct { // Linux App Framework and version for the App Service, e.g. `DOCKER|(golang:latest)`. Setting this value will also set the `kind` of application deployed to `functionapp,linux,container,workflowapp` LinuxFxVersion pulumi.StringPtrInput `pulumi:"linuxFxVersion"` // The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + // + // > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinTlsVersion pulumi.StringPtrInput `pulumi:"minTlsVersion"` // The number of pre-warmed instances for this Logic App Only affects apps on the Premium plan. PreWarmedInstanceCount pulumi.IntPtrInput `pulumi:"preWarmedInstanceCount"` @@ -1879,6 +1885,8 @@ type StandardSiteConfigArgs struct { // > **NOTE** User has to explicitly set `scmIpRestriction` to empty slice (`[]`) to remove it. ScmIpRestrictions StandardSiteConfigScmIpRestrictionArrayInput `pulumi:"scmIpRestrictions"` // Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + // + // > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. ScmMinTlsVersion pulumi.StringPtrInput `pulumi:"scmMinTlsVersion"` // The type of Source Control used by the Logic App in use by the Windows Function App. Defaults to `None`. Possible values are: `BitbucketGit`, `BitbucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None`, `OneDrive`, `Tfs`, `VSO`, and `VSTSRM` ScmType pulumi.StringPtrInput `pulumi:"scmType"` @@ -2029,6 +2037,8 @@ func (o StandardSiteConfigOutput) LinuxFxVersion() pulumi.StringPtrOutput { } // The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. +// +// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. func (o StandardSiteConfigOutput) MinTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v StandardSiteConfig) *string { return v.MinTlsVersion }).(pulumi.StringPtrOutput) } @@ -2056,6 +2066,8 @@ func (o StandardSiteConfigOutput) ScmIpRestrictions() StandardSiteConfigScmIpRes } // Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. +// +// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. func (o StandardSiteConfigOutput) ScmMinTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v StandardSiteConfig) *string { return v.ScmMinTlsVersion }).(pulumi.StringPtrOutput) } @@ -2224,6 +2236,8 @@ func (o StandardSiteConfigPtrOutput) LinuxFxVersion() pulumi.StringPtrOutput { } // The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. +// +// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. func (o StandardSiteConfigPtrOutput) MinTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *StandardSiteConfig) *string { if v == nil { @@ -2276,6 +2290,8 @@ func (o StandardSiteConfigPtrOutput) ScmIpRestrictions() StandardSiteConfigScmIp } // Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. +// +// > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. func (o StandardSiteConfigPtrOutput) ScmMinTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *StandardSiteConfig) *string { if v == nil { diff --git a/sdk/go/azure/mssql/server.go b/sdk/go/azure/mssql/server.go index 0d4703e281..cb5901c6dc 100644 --- a/sdk/go/azure/mssql/server.go +++ b/sdk/go/azure/mssql/server.go @@ -208,6 +208,8 @@ type Server struct { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + // + // > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinimumTlsVersion pulumi.StringPtrOutput `pulumi:"minimumTlsVersion"` // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` @@ -301,6 +303,8 @@ type serverState struct { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + // + // > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. Name *string `pulumi:"name"` @@ -346,6 +350,8 @@ type ServerState struct { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + // + // > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinimumTlsVersion pulumi.StringPtrInput // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. Name pulumi.StringPtrInput @@ -393,6 +399,8 @@ type serverArgs struct { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + // + // > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. Name *string `pulumi:"name"` @@ -435,6 +443,8 @@ type ServerArgs struct { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + // + // > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. MinimumTlsVersion pulumi.StringPtrInput // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. Name pulumi.StringPtrInput @@ -585,6 +595,8 @@ func (o ServerOutput) Location() pulumi.StringOutput { // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. // // > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. +// +// > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. func (o ServerOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *Server) pulumi.StringPtrOutput { return v.MinimumTlsVersion }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/azure/nginx/configuration.go b/sdk/go/azure/nginx/configuration.go index b8a36528b8..329ddb3ac8 100644 --- a/sdk/go/azure/nginx/configuration.go +++ b/sdk/go/azure/nginx/configuration.go @@ -89,7 +89,6 @@ import ( // ResourceGroupName: example.Name, // Sku: pulumi.String("publicpreview_Monthly_gmz7xq9ge3py"), // Location: example.Location, -// ManagedResourceGroup: pulumi.String("example"), // DiagnoseSupportEnabled: pulumi.Bool(true), // FrontendPublic: &nginx.DeploymentFrontendPublicArgs{ // IpAddresses: pulumi.StringArray{ diff --git a/sdk/go/azure/nginx/deployment.go b/sdk/go/azure/nginx/deployment.go index f4c7e0e78d..177fe4d245 100644 --- a/sdk/go/azure/nginx/deployment.go +++ b/sdk/go/azure/nginx/deployment.go @@ -88,7 +88,6 @@ import ( // ResourceGroupName: example.Name, // Sku: pulumi.String("standardv2_Monthly"), // Location: example.Location, -// ManagedResourceGroup: pulumi.String("example"), // DiagnoseSupportEnabled: pulumi.Bool(true), // AutomaticUpgradeChannel: pulumi.String("stable"), // FrontendPublic: &nginx.DeploymentFrontendPublicArgs{ @@ -147,7 +146,7 @@ type Deployment struct { Location pulumi.StringOutput `pulumi:"location"` // One or more `loggingStorageAccount` blocks as defined below. LoggingStorageAccounts DeploymentLoggingStorageAccountArrayOutput `pulumi:"loggingStorageAccounts"` - // Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup pulumi.StringOutput `pulumi:"managedResourceGroup"` // The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. Name pulumi.StringOutput `pulumi:"name"` @@ -222,7 +221,7 @@ type deploymentState struct { Location *string `pulumi:"location"` // One or more `loggingStorageAccount` blocks as defined below. LoggingStorageAccounts []DeploymentLoggingStorageAccount `pulumi:"loggingStorageAccounts"` - // Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup *string `pulumi:"managedResourceGroup"` // The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. Name *string `pulumi:"name"` @@ -262,7 +261,7 @@ type DeploymentState struct { Location pulumi.StringPtrInput // One or more `loggingStorageAccount` blocks as defined below. LoggingStorageAccounts DeploymentLoggingStorageAccountArrayInput - // Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup pulumi.StringPtrInput // The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. Name pulumi.StringPtrInput @@ -304,7 +303,7 @@ type deploymentArgs struct { Location *string `pulumi:"location"` // One or more `loggingStorageAccount` blocks as defined below. LoggingStorageAccounts []DeploymentLoggingStorageAccount `pulumi:"loggingStorageAccounts"` - // Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup *string `pulumi:"managedResourceGroup"` // The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. Name *string `pulumi:"name"` @@ -341,7 +340,7 @@ type DeploymentArgs struct { Location pulumi.StringPtrInput // One or more `loggingStorageAccount` blocks as defined below. LoggingStorageAccounts DeploymentLoggingStorageAccountArrayInput - // Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup pulumi.StringPtrInput // The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. Name pulumi.StringPtrInput @@ -498,7 +497,7 @@ func (o DeploymentOutput) LoggingStorageAccounts() DeploymentLoggingStorageAccou return o.ApplyT(func(v *Deployment) DeploymentLoggingStorageAccountArrayOutput { return v.LoggingStorageAccounts }).(DeploymentLoggingStorageAccountArrayOutput) } -// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. +// Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. func (o DeploymentOutput) ManagedResourceGroup() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.ManagedResourceGroup }).(pulumi.StringOutput) } diff --git a/sdk/go/azure/nginx/getConfiguration.go b/sdk/go/azure/nginx/getConfiguration.go index 2c5c55525a..9fda59b16b 100644 --- a/sdk/go/azure/nginx/getConfiguration.go +++ b/sdk/go/azure/nginx/getConfiguration.go @@ -63,7 +63,8 @@ type LookupConfigurationResult struct { Id string `pulumi:"id"` NginxDeploymentId string `pulumi:"nginxDeploymentId"` // The package data for this configuration. - PackageData string `pulumi:"packageData"` + PackageData string `pulumi:"packageData"` + // A `protectedFile` block as defined below. ProtectedFiles []GetConfigurationProtectedFile `pulumi:"protectedFiles"` // The root file path of this Nginx Configuration. RootFile string `pulumi:"rootFile"` @@ -122,6 +123,7 @@ func (o LookupConfigurationResultOutput) PackageData() pulumi.StringOutput { return o.ApplyT(func(v LookupConfigurationResult) string { return v.PackageData }).(pulumi.StringOutput) } +// A `protectedFile` block as defined below. func (o LookupConfigurationResultOutput) ProtectedFiles() GetConfigurationProtectedFileArrayOutput { return o.ApplyT(func(v LookupConfigurationResult) []GetConfigurationProtectedFile { return v.ProtectedFiles }).(GetConfigurationProtectedFileArrayOutput) } diff --git a/sdk/go/azure/nginx/getDeployment.go b/sdk/go/azure/nginx/getDeployment.go index 66b4d3db9d..6b959cfb60 100644 --- a/sdk/go/azure/nginx/getDeployment.go +++ b/sdk/go/azure/nginx/getDeployment.go @@ -84,7 +84,7 @@ type LookupDeploymentResult struct { Location string `pulumi:"location"` // A `loggingStorageAccount` block as defined below. LoggingStorageAccounts []GetDeploymentLoggingStorageAccount `pulumi:"loggingStorageAccounts"` - // Auto-generated managed resource group for the NGINX Deployment. + // Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. ManagedResourceGroup string `pulumi:"managedResourceGroup"` // Name of the autoscaling profile. Name string `pulumi:"name"` @@ -195,7 +195,7 @@ func (o LookupDeploymentResultOutput) LoggingStorageAccounts() GetDeploymentLogg return o.ApplyT(func(v LookupDeploymentResult) []GetDeploymentLoggingStorageAccount { return v.LoggingStorageAccounts }).(GetDeploymentLoggingStorageAccountArrayOutput) } -// Auto-generated managed resource group for the NGINX Deployment. +// Deprecated: The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. func (o LookupDeploymentResultOutput) ManagedResourceGroup() pulumi.StringOutput { return o.ApplyT(func(v LookupDeploymentResult) string { return v.ManagedResourceGroup }).(pulumi.StringOutput) } diff --git a/sdk/go/azure/nginx/pulumiTypes.go b/sdk/go/azure/nginx/pulumiTypes.go index 042d75b69d..6091750566 100644 --- a/sdk/go/azure/nginx/pulumiTypes.go +++ b/sdk/go/azure/nginx/pulumiTypes.go @@ -1094,6 +1094,8 @@ func (o GetConfigurationConfigFileArrayOutput) Index(i pulumi.IntInput) GetConfi type GetConfigurationProtectedFile struct { // The base-64 encoded contents of this configuration file. + // + // Deprecated: the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. Content string `pulumi:"content"` // The path of this configuration file. VirtualPath string `pulumi:"virtualPath"` @@ -1112,6 +1114,8 @@ type GetConfigurationProtectedFileInput interface { type GetConfigurationProtectedFileArgs struct { // The base-64 encoded contents of this configuration file. + // + // Deprecated: the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. Content pulumi.StringInput `pulumi:"content"` // The path of this configuration file. VirtualPath pulumi.StringInput `pulumi:"virtualPath"` @@ -1169,6 +1173,8 @@ func (o GetConfigurationProtectedFileOutput) ToGetConfigurationProtectedFileOutp } // The base-64 encoded contents of this configuration file. +// +// Deprecated: the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. func (o GetConfigurationProtectedFileOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationProtectedFile) string { return v.Content }).(pulumi.StringOutput) } diff --git a/sdk/go/azure/orbital/contact.go b/sdk/go/azure/orbital/contact.go index 4adce20dff..d119fda4eb 100644 --- a/sdk/go/azure/orbital/contact.go +++ b/sdk/go/azure/orbital/contact.go @@ -14,6 +14,8 @@ import ( // Manages an orbital contact. // +// > **Note:** The `orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. +// // ## Example Usage // // ```go diff --git a/sdk/go/azure/orbital/contactProfile.go b/sdk/go/azure/orbital/contactProfile.go index 544e41f254..3f5d7e948f 100644 --- a/sdk/go/azure/orbital/contactProfile.go +++ b/sdk/go/azure/orbital/contactProfile.go @@ -14,6 +14,8 @@ import ( // Manages a Contact profile. // +// > **Note:** The `orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. +// // ## Example Usage // // ```go diff --git a/sdk/go/azure/orbital/spacecraft.go b/sdk/go/azure/orbital/spacecraft.go index 46413cd359..810dd386c5 100644 --- a/sdk/go/azure/orbital/spacecraft.go +++ b/sdk/go/azure/orbital/spacecraft.go @@ -14,6 +14,8 @@ import ( // Manages a Spacecraft. // +// > **Note:** The `orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. +// // ## Example Usage // // ```go diff --git a/sdk/go/azure/search/service.go b/sdk/go/azure/search/service.go index 1e0438723f..0008de2452 100644 --- a/sdk/go/azure/search/service.go +++ b/sdk/go/azure/search/service.go @@ -164,6 +164,8 @@ type Service struct { Location pulumi.StringOutput `pulumi:"location"` // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringOutput `pulumi:"name"` + // Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + NetworkRuleBypassOption pulumi.StringPtrOutput `pulumi:"networkRuleBypassOption"` // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -259,6 +261,8 @@ type serviceState struct { Location *string `pulumi:"location"` // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name *string `pulumi:"name"` + // Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + NetworkRuleBypassOption *string `pulumi:"networkRuleBypassOption"` // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -314,6 +318,8 @@ type ServiceState struct { Location pulumi.StringPtrInput // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringPtrInput + // Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + NetworkRuleBypassOption pulumi.StringPtrInput // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -371,6 +377,8 @@ type serviceArgs struct { Location *string `pulumi:"location"` // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name *string `pulumi:"name"` + // Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + NetworkRuleBypassOption *string `pulumi:"networkRuleBypassOption"` // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -419,6 +427,8 @@ type ServiceArgs struct { Location pulumi.StringPtrInput // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringPtrInput + // Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + NetworkRuleBypassOption pulumi.StringPtrInput // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -581,6 +591,11 @@ func (o ServiceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } +// Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. +func (o ServiceOutput) NetworkRuleBypassOption() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Service) pulumi.StringPtrOutput { return v.NetworkRuleBypassOption }).(pulumi.StringPtrOutput) +} + // Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. // // > **NOTE:** when `hostingMode` is set to `highDensity` the maximum number of partitions allowed is `3`. diff --git a/sdk/go/azure/storage/getStorageContainer.go b/sdk/go/azure/storage/getStorageContainer.go index 5adcc3e4ed..b39f77c5ca 100644 --- a/sdk/go/azure/storage/getStorageContainer.go +++ b/sdk/go/azure/storage/getStorageContainer.go @@ -62,7 +62,7 @@ type GetStorageContainerArgs struct { Metadata map[string]string `pulumi:"metadata"` // The name of the Container. Name string `pulumi:"name"` - // The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + // The id of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. // // > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. StorageAccountId *string `pulumi:"storageAccountId"` @@ -108,7 +108,7 @@ type GetStorageContainerOutputArgs struct { Metadata pulumi.StringMapInput `pulumi:"metadata"` // The name of the Container. Name pulumi.StringInput `pulumi:"name"` - // The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + // The id of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. // // > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. StorageAccountId pulumi.StringPtrInput `pulumi:"storageAccountId"` diff --git a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiDiagnostic.java b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiDiagnostic.java index 975ac22116..797883ec1e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiDiagnostic.java +++ b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiDiagnostic.java @@ -95,7 +95,7 @@ * .protocols("https") * .import_(ApiImportArgs.builder() * .contentFormat("swagger-link-json") - * .contentValue("http://conferenceapi.azurewebsites.net/?format=json") + * .contentValue("https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json") * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiRelease.java b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiRelease.java index 76b8d58c17..fb3976f17c 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiRelease.java +++ b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/ApiRelease.java @@ -73,7 +73,7 @@ * .protocols("https") * .import_(ApiImportArgs.builder() * .contentFormat("swagger-link-json") - * .contentValue("http://conferenceapi.azurewebsites.net/?format=json") + * .contentValue("https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json") * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.java index 16b5bedbc7..b49154cab1 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSiteConfigApplicationStackArgs.java @@ -49,14 +49,18 @@ public Optional> dotnetVersion() { } /** - * The Version of Java to use. Supported versions include `8`, `11` & `17`. + * The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * */ @Import(name="javaVersion") private @Nullable Output javaVersion; /** - * @return The Version of Java to use. Supported versions include `8`, `11` & `17`. + * @return The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * */ public Optional> javaVersion() { @@ -222,7 +226,9 @@ public Builder dotnetVersion(String dotnetVersion) { } /** - * @param javaVersion The Version of Java to use. Supported versions include `8`, `11` & `17`. + * @param javaVersion The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * * @return builder * @@ -233,7 +239,9 @@ public Builder javaVersion(@Nullable Output javaVersion) { } /** - * @param javaVersion The Version of Java to use. Supported versions include `8`, `11` & `17`. + * @param javaVersion The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSlotSiteConfigArgs.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSlotSiteConfigArgs.java index afacd47c4f..f391f792d0 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSlotSiteConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxFunctionAppSlotSiteConfigArgs.java @@ -399,14 +399,14 @@ public Optional> managedPipelineMode() { } /** - * 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`. + * 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`. * */ @Import(name="minimumTlsVersion") private @Nullable Output minimumTlsVersion; /** - * @return 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`. + * @return 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`. * */ public Optional> minimumTlsVersion() { @@ -508,14 +508,14 @@ public Optional> } /** - * 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`. + * Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ @Import(name="scmMinimumTlsVersion") private @Nullable Output scmMinimumTlsVersion; /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ public Optional> scmMinimumTlsVersion() { @@ -1220,7 +1220,7 @@ public Builder managedPipelineMode(String managedPipelineMode) { } /** - * @param minimumTlsVersion 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`. + * @param minimumTlsVersion 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`. * * @return builder * @@ -1231,7 +1231,7 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { } /** - * @param minimumTlsVersion 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`. + * @param minimumTlsVersion 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`. * * @return builder * @@ -1381,7 +1381,7 @@ public Builder scmIpRestrictions(LinuxFunctionAppSlotSiteConfigScmIpRestrictionA } /** - * @param scmMinimumTlsVersion 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`. + * @param scmMinimumTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * * @return builder * @@ -1392,7 +1392,7 @@ public Builder scmMinimumTlsVersion(@Nullable Output scmMinimumTlsVersio } /** - * @param scmMinimumTlsVersion 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`. + * @param scmMinimumTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxWebAppSiteConfigApplicationStackArgs.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxWebAppSiteConfigApplicationStackArgs.java index 062e79bf62..fcd6a22c8e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxWebAppSiteConfigApplicationStackArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/LinuxWebAppSiteConfigApplicationStackArgs.java @@ -144,7 +144,7 @@ public Optional> javaServerVersion() { } /** - * The Version of Java to use. Possible values include `8`, `11`, and `17`. + * The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -155,7 +155,7 @@ public Optional> javaServerVersion() { private @Nullable Output javaVersion; /** - * @return The Version of Java to use. Possible values include `8`, `11`, and `17`. + * @return The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -447,7 +447,7 @@ public Builder javaServerVersion(String javaServerVersion) { } /** - * @param javaVersion The Version of Java to use. Possible values include `8`, `11`, and `17`. + * @param javaVersion The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -462,7 +462,7 @@ public Builder javaVersion(@Nullable Output javaVersion) { } /** - * @param javaVersion The Version of Java to use. Possible values include `8`, `11`, and `17`. + * @param javaVersion The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.java index f439ae6297..36378d1f4d 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSiteConfigApplicationStackArgs.java @@ -32,14 +32,14 @@ public Optional> dotnetVersion() { } /** - * The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * */ @Import(name="javaVersion") private @Nullable Output javaVersion; /** - * @return The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * @return The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * */ public Optional> javaVersion() { @@ -161,7 +161,7 @@ public Builder dotnetVersion(String dotnetVersion) { } /** - * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * * @return builder * @@ -172,7 +172,7 @@ public Builder javaVersion(@Nullable Output javaVersion) { } /** - * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSlotSiteConfigArgs.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSlotSiteConfigArgs.java index 60ae119887..4acda4854f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSlotSiteConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/inputs/WindowsFunctionAppSlotSiteConfigArgs.java @@ -354,14 +354,14 @@ public Optional> managedPipelineMode() { } /** - * 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`. + * 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`. * */ @Import(name="minimumTlsVersion") private @Nullable Output minimumTlsVersion; /** - * @return 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`. + * @return 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`. * */ public Optional> minimumTlsVersion() { @@ -463,14 +463,14 @@ public Optional scmMinimumTlsVersion; /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ public Optional> scmMinimumTlsVersion() { @@ -1125,7 +1125,7 @@ public Builder managedPipelineMode(String managedPipelineMode) { } /** - * @param minimumTlsVersion 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`. + * @param minimumTlsVersion 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`. * * @return builder * @@ -1136,7 +1136,7 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { } /** - * @param minimumTlsVersion 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`. + * @param minimumTlsVersion 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`. * * @return builder * @@ -1286,7 +1286,7 @@ public Builder scmIpRestrictions(WindowsFunctionAppSlotSiteConfigScmIpRestrictio } /** - * @param scmMinimumTlsVersion 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`. + * @param scmMinimumTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * * @return builder * @@ -1297,7 +1297,7 @@ public Builder scmMinimumTlsVersion(@Nullable Output scmMinimumTlsVersio } /** - * @param scmMinimumTlsVersion 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`. + * @param scmMinimumTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSiteConfigApplicationStack.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSiteConfigApplicationStack.java index 6dc44d1599..534df960c0 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSiteConfigApplicationStack.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSiteConfigApplicationStack.java @@ -25,7 +25,9 @@ public final class LinuxFunctionAppSiteConfigApplicationStack { */ private @Nullable String dotnetVersion; /** - * @return The Version of Java to use. Supported versions include `8`, `11` & `17`. + * @return The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * */ private @Nullable String javaVersion; @@ -71,7 +73,9 @@ public Optional dotnetVersion() { return Optional.ofNullable(this.dotnetVersion); } /** - * @return The Version of Java to use. Supported versions include `8`, `11` & `17`. + * @return The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `java_version`. * */ public Optional javaVersion() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSlotSiteConfig.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSlotSiteConfig.java index cea2d60db9..80b9c5ad1e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSlotSiteConfig.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxFunctionAppSlotSiteConfig.java @@ -145,7 +145,7 @@ public final class LinuxFunctionAppSlotSiteConfig { */ private @Nullable String managedPipelineMode; /** - * @return 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`. + * @return 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`. * */ private @Nullable String minimumTlsVersion; @@ -182,7 +182,7 @@ public final class LinuxFunctionAppSlotSiteConfig { */ private @Nullable List scmIpRestrictions; /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ private @Nullable String scmMinimumTlsVersion; @@ -394,7 +394,7 @@ public Optional managedPipelineMode() { return Optional.ofNullable(this.managedPipelineMode); } /** - * @return 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`. + * @return 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`. * */ public Optional minimumTlsVersion() { @@ -445,7 +445,7 @@ public List scmIpRestrictions() return this.scmIpRestrictions == null ? List.of() : this.scmIpRestrictions; } /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ public Optional scmMinimumTlsVersion() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxWebAppSiteConfigApplicationStack.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxWebAppSiteConfigApplicationStack.java index a386d86c0c..ad3df09e47 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxWebAppSiteConfigApplicationStack.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/LinuxWebAppSiteConfigApplicationStack.java @@ -56,7 +56,7 @@ public final class LinuxWebAppSiteConfigApplicationStack { */ private @Nullable String javaServerVersion; /** - * @return The Version of Java to use. Possible values include `8`, `11`, and `17`. + * @return The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -151,7 +151,7 @@ public Optional javaServerVersion() { return Optional.ofNullable(this.javaServerVersion); } /** - * @return The Version of Java to use. Possible values include `8`, `11`, and `17`. + * @return The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSiteConfigApplicationStack.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSiteConfigApplicationStack.java index 9aaa2511d1..9d1f7b0591 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSiteConfigApplicationStack.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSiteConfigApplicationStack.java @@ -18,7 +18,7 @@ public final class WindowsFunctionAppSiteConfigApplicationStack { */ private @Nullable String dotnetVersion; /** - * @return The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * @return The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * */ private @Nullable String javaVersion; @@ -54,7 +54,7 @@ public Optional dotnetVersion() { return Optional.ofNullable(this.dotnetVersion); } /** - * @return The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * @return The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). * */ public Optional javaVersion() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSlotSiteConfig.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSlotSiteConfig.java index cd263d8724..c86f5127f8 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSlotSiteConfig.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/outputs/WindowsFunctionAppSlotSiteConfig.java @@ -130,7 +130,7 @@ public final class WindowsFunctionAppSlotSiteConfig { */ private @Nullable String managedPipelineMode; /** - * @return 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`. + * @return 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`. * */ private @Nullable String minimumTlsVersion; @@ -167,7 +167,7 @@ public final class WindowsFunctionAppSlotSiteConfig { */ private @Nullable List scmIpRestrictions; /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ private @Nullable String scmMinimumTlsVersion; @@ -363,7 +363,7 @@ public Optional managedPipelineMode() { return Optional.ofNullable(this.managedPipelineMode); } /** - * @return 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`. + * @return 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`. * */ public Optional minimumTlsVersion() { @@ -414,7 +414,7 @@ public List scmIpRestrictions( return this.scmIpRestrictions == null ? List.of() : this.scmIpRestrictions; } /** - * @return 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`. + * @return Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. * */ public Optional scmMinimumTlsVersion() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/automation/SoftwareUpdateConfiguration.java b/sdk/java/src/main/java/com/pulumi/azure/automation/SoftwareUpdateConfiguration.java index 005750ae1f..17e053d8ce 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/automation/SoftwareUpdateConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/azure/automation/SoftwareUpdateConfiguration.java @@ -22,7 +22,7 @@ import javax.annotation.Nullable; /** - * Manages an Automation Software Update Configuraion. + * Manages an Automation Software Update Configuration. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklist.java b/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklist.java new file mode 100644 index 0000000000..3ca534ebb2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklist.java @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.cognitive; + +import com.pulumi.azure.Utilities; +import com.pulumi.azure.cognitive.AccountRaiBlocklistArgs; +import com.pulumi.azure.cognitive.inputs.AccountRaiBlocklistState; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages a Cognitive Account Rai Blocklist. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.azure.core.ResourceGroup;
+ * import com.pulumi.azure.core.ResourceGroupArgs;
+ * import com.pulumi.azure.cognitive.Account;
+ * import com.pulumi.azure.cognitive.AccountArgs;
+ * import com.pulumi.azure.cognitive.AccountRaiBlocklist;
+ * import com.pulumi.azure.cognitive.AccountRaiBlocklistArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
+ *             .name("example-resources")
+ *             .location("Brazil South")
+ *             .build());
+ * 
+ *         var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
+ *             .name("example-ca")
+ *             .location(example.location())
+ *             .resourceGroupName(example.name())
+ *             .kind("OpenAI")
+ *             .skuName("S0")
+ *             .build());
+ * 
+ *         var exampleAccountRaiBlocklist = new AccountRaiBlocklist("exampleAccountRaiBlocklist", AccountRaiBlocklistArgs.builder()
+ *             .name("example-crb")
+ *             .cognitiveAccountId(exampleAccount.id())
+ *             .description("Azure OpenAI Rai Blocklist")
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 + * ``` + * + */ +@ResourceType(type="azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist") +public class AccountRaiBlocklist extends com.pulumi.resources.CustomResource { + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Export(name="cognitiveAccountId", refs={String.class}, tree="[0]") + private Output cognitiveAccountId; + + /** + * @return The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Output cognitiveAccountId() { + return this.cognitiveAccountId; + } + /** + * A short description for the Cognitive Account Rai Blocklist. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return A short description for the Cognitive Account Rai Blocklist. + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Output name() { + return this.name; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AccountRaiBlocklist(java.lang.String name) { + this(name, AccountRaiBlocklistArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AccountRaiBlocklist(java.lang.String name, AccountRaiBlocklistArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public AccountRaiBlocklist(java.lang.String name, AccountRaiBlocklistArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private AccountRaiBlocklist(java.lang.String name, Output id, @Nullable AccountRaiBlocklistState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist", name, state, makeResourceOptions(options, id), false); + } + + private static AccountRaiBlocklistArgs makeArgs(AccountRaiBlocklistArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? AccountRaiBlocklistArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static AccountRaiBlocklist get(java.lang.String name, Output id, @Nullable AccountRaiBlocklistState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AccountRaiBlocklist(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklistArgs.java b/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklistArgs.java new file mode 100644 index 0000000000..2c8891e08c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/cognitive/AccountRaiBlocklistArgs.java @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.cognitive; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AccountRaiBlocklistArgs extends com.pulumi.resources.ResourceArgs { + + public static final AccountRaiBlocklistArgs Empty = new AccountRaiBlocklistArgs(); + + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Import(name="cognitiveAccountId", required=true) + private Output cognitiveAccountId; + + /** + * @return The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Output cognitiveAccountId() { + return this.cognitiveAccountId; + } + + /** + * A short description for the Cognitive Account Rai Blocklist. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return A short description for the Cognitive Account Rai Blocklist. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AccountRaiBlocklistArgs() {} + + private AccountRaiBlocklistArgs(AccountRaiBlocklistArgs $) { + this.cognitiveAccountId = $.cognitiveAccountId; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AccountRaiBlocklistArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AccountRaiBlocklistArgs $; + + public Builder() { + $ = new AccountRaiBlocklistArgs(); + } + + public Builder(AccountRaiBlocklistArgs defaults) { + $ = new AccountRaiBlocklistArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cognitiveAccountId The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder cognitiveAccountId(Output cognitiveAccountId) { + $.cognitiveAccountId = cognitiveAccountId; + return this; + } + + /** + * @param cognitiveAccountId The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder cognitiveAccountId(String cognitiveAccountId) { + return cognitiveAccountId(Output.of(cognitiveAccountId)); + } + + /** + * @param description A short description for the Cognitive Account Rai Blocklist. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description A short description for the Cognitive Account Rai Blocklist. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AccountRaiBlocklistArgs build() { + if ($.cognitiveAccountId == null) { + throw new MissingRequiredPropertyException("AccountRaiBlocklistArgs", "cognitiveAccountId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/cognitive/inputs/AccountRaiBlocklistState.java b/sdk/java/src/main/java/com/pulumi/azure/cognitive/inputs/AccountRaiBlocklistState.java new file mode 100644 index 0000000000..968a84d7a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/cognitive/inputs/AccountRaiBlocklistState.java @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.cognitive.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AccountRaiBlocklistState extends com.pulumi.resources.ResourceArgs { + + public static final AccountRaiBlocklistState Empty = new AccountRaiBlocklistState(); + + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Import(name="cognitiveAccountId") + private @Nullable Output cognitiveAccountId; + + /** + * @return The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Optional> cognitiveAccountId() { + return Optional.ofNullable(this.cognitiveAccountId); + } + + /** + * A short description for the Cognitive Account Rai Blocklist. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return A short description for the Cognitive Account Rai Blocklist. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AccountRaiBlocklistState() {} + + private AccountRaiBlocklistState(AccountRaiBlocklistState $) { + this.cognitiveAccountId = $.cognitiveAccountId; + this.description = $.description; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AccountRaiBlocklistState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AccountRaiBlocklistState $; + + public Builder() { + $ = new AccountRaiBlocklistState(); + } + + public Builder(AccountRaiBlocklistState defaults) { + $ = new AccountRaiBlocklistState(Objects.requireNonNull(defaults)); + } + + /** + * @param cognitiveAccountId The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder cognitiveAccountId(@Nullable Output cognitiveAccountId) { + $.cognitiveAccountId = cognitiveAccountId; + return this; + } + + /** + * @param cognitiveAccountId The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder cognitiveAccountId(String cognitiveAccountId) { + return cognitiveAccountId(Output.of(cognitiveAccountId)); + } + + /** + * @param description A short description for the Cognitive Account Rai Blocklist. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description A short description for the Cognitive Account Rai Blocklist. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AccountRaiBlocklistState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDisk.java b/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDisk.java index 400daab199..a77e623540 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDisk.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDisk.java @@ -476,8 +476,6 @@ public Output> osType() { /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ @Export(name="performancePlusEnabled", refs={Boolean.class}, tree="[0]") private Output performancePlusEnabled; @@ -485,8 +483,6 @@ public Output> osType() { /** * @return Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ public Output> performancePlusEnabled() { return Codegen.optional(this.performancePlusEnabled); diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDiskArgs.java b/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDiskArgs.java index ffe7f1adb2..a6ae85b03b 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDiskArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/ManagedDiskArgs.java @@ -376,8 +376,6 @@ public Optional> osType() { /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ @Import(name="performancePlusEnabled") private @Nullable Output performancePlusEnabled; @@ -385,8 +383,6 @@ public Optional> osType() { /** * @return Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ public Optional> performancePlusEnabled() { return Optional.ofNullable(this.performancePlusEnabled); @@ -1147,8 +1143,6 @@ public Builder osType(String osType) { /** * @param performancePlusEnabled Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * * @return builder * */ @@ -1160,8 +1154,6 @@ public Builder performancePlusEnabled(@Nullable Output performancePlusE /** * @param performancePlusEnabled Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/ManagedDiskState.java b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/ManagedDiskState.java index 6386f7d395..8de1e8e88c 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/ManagedDiskState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/ManagedDiskState.java @@ -375,8 +375,6 @@ public Optional> osType() { /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ @Import(name="performancePlusEnabled") private @Nullable Output performancePlusEnabled; @@ -384,8 +382,6 @@ public Optional> osType() { /** * @return Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * */ public Optional> performancePlusEnabled() { return Optional.ofNullable(this.performancePlusEnabled); @@ -1146,8 +1142,6 @@ public Builder osType(String osType) { /** * @param performancePlusEnabled Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * * @return builder * */ @@ -1159,8 +1153,6 @@ public Builder performancePlusEnabled(@Nullable Output performancePlusE /** * @param performancePlusEnabled Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. * - * > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. - * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/fabric/Capacity.java b/sdk/java/src/main/java/com/pulumi/azure/fabric/Capacity.java new file mode 100644 index 0000000000..5b861bcaa5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/fabric/Capacity.java @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.fabric; + +import com.pulumi.azure.Utilities; +import com.pulumi.azure.fabric.CapacityArgs; +import com.pulumi.azure.fabric.inputs.CapacityState; +import com.pulumi.azure.fabric.outputs.CapacitySku; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages a Fabric Capacity. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.azure.core.CoreFunctions;
+ * import com.pulumi.azure.core.ResourceGroup;
+ * import com.pulumi.azure.core.ResourceGroupArgs;
+ * import com.pulumi.azure.fabric.Capacity;
+ * import com.pulumi.azure.fabric.CapacityArgs;
+ * import com.pulumi.azure.fabric.inputs.CapacitySkuArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         final var current = CoreFunctions.getClientConfig();
+ * 
+ *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
+ *             .name("example-resources")
+ *             .location("West Europe")
+ *             .build());
+ * 
+ *         var exampleCapacity = new Capacity("exampleCapacity", CapacityArgs.builder()
+ *             .name("example-ffc")
+ *             .resourceGroupName(example.name())
+ *             .location("West Europe")
+ *             .administrationMembers(current.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
+ *             .sku(CapacitySkuArgs.builder()
+ *                 .name("F32")
+ *                 .tier("Fabric")
+ *                 .build())
+ *             .tags(Map.of("environment", "test"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Fabric Capacities can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 + * ``` + * + */ +@ResourceType(type="azure:fabric/capacity:Capacity") +public class Capacity extends com.pulumi.resources.CustomResource { + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + @Export(name="administrationMembers", refs={List.class,String.class}, tree="[0,1]") + private Output> administrationMembers; + + /** + * @return An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + public Output>> administrationMembers() { + return Codegen.optional(this.administrationMembers); + } + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + @Export(name="location", refs={String.class}, tree="[0]") + private Output location; + + /** + * @return The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + public Output location() { + return this.location; + } + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Output name() { + return this.name; + } + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Export(name="resourceGroupName", refs={String.class}, tree="[0]") + private Output resourceGroupName; + + /** + * @return The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Output resourceGroupName() { + return this.resourceGroupName; + } + /** + * A `sku` block as defined below. + * + */ + @Export(name="sku", refs={CapacitySku.class}, tree="[0]") + private Output sku; + + /** + * @return A `sku` block as defined below. + * + */ + public Output sku() { + return this.sku; + } + /** + * A mapping of tags to assign to the Fabric Capacity. + * + */ + @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> tags; + + /** + * @return A mapping of tags to assign to the Fabric Capacity. + * + */ + public Output>> tags() { + return Codegen.optional(this.tags); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Capacity(java.lang.String name) { + this(name, CapacityArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Capacity(java.lang.String name, CapacityArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Capacity(java.lang.String name, CapacityArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:fabric/capacity:Capacity", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private Capacity(java.lang.String name, Output id, @Nullable CapacityState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:fabric/capacity:Capacity", name, state, makeResourceOptions(options, id), false); + } + + private static CapacityArgs makeArgs(CapacityArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? CapacityArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Capacity get(java.lang.String name, Output id, @Nullable CapacityState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Capacity(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/fabric/CapacityArgs.java b/sdk/java/src/main/java/com/pulumi/azure/fabric/CapacityArgs.java new file mode 100644 index 0000000000..61f9043fa9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/fabric/CapacityArgs.java @@ -0,0 +1,288 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.fabric; + +import com.pulumi.azure.fabric.inputs.CapacitySkuArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CapacityArgs extends com.pulumi.resources.ResourceArgs { + + public static final CapacityArgs Empty = new CapacityArgs(); + + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + @Import(name="administrationMembers") + private @Nullable Output> administrationMembers; + + /** + * @return An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + public Optional>> administrationMembers() { + return Optional.ofNullable(this.administrationMembers); + } + + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + @Import(name="location") + private @Nullable Output location; + + /** + * @return The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + public Optional> location() { + return Optional.ofNullable(this.location); + } + + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Import(name="resourceGroupName", required=true) + private Output resourceGroupName; + + /** + * @return The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Output resourceGroupName() { + return this.resourceGroupName; + } + + /** + * A `sku` block as defined below. + * + */ + @Import(name="sku", required=true) + private Output sku; + + /** + * @return A `sku` block as defined below. + * + */ + public Output sku() { + return this.sku; + } + + /** + * A mapping of tags to assign to the Fabric Capacity. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the Fabric Capacity. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private CapacityArgs() {} + + private CapacityArgs(CapacityArgs $) { + this.administrationMembers = $.administrationMembers; + this.location = $.location; + this.name = $.name; + this.resourceGroupName = $.resourceGroupName; + this.sku = $.sku; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CapacityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CapacityArgs $; + + public Builder() { + $ = new CapacityArgs(); + } + + public Builder(CapacityArgs defaults) { + $ = new CapacityArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(@Nullable Output> administrationMembers) { + $.administrationMembers = administrationMembers; + return this; + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(List administrationMembers) { + return administrationMembers(Output.of(administrationMembers)); + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(String... administrationMembers) { + return administrationMembers(List.of(administrationMembers)); + } + + /** + * @param location The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(@Nullable Output location) { + $.location = location; + return this; + } + + /** + * @param location The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(String location) { + return location(Output.of(location)); + } + + /** + * @param name The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param resourceGroupName The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(Output resourceGroupName) { + $.resourceGroupName = resourceGroupName; + return this; + } + + /** + * @param resourceGroupName The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(String resourceGroupName) { + return resourceGroupName(Output.of(resourceGroupName)); + } + + /** + * @param sku A `sku` block as defined below. + * + * @return builder + * + */ + public Builder sku(Output sku) { + $.sku = sku; + return this; + } + + /** + * @param sku A `sku` block as defined below. + * + * @return builder + * + */ + public Builder sku(CapacitySkuArgs sku) { + return sku(Output.of(sku)); + } + + /** + * @param tags A mapping of tags to assign to the Fabric Capacity. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the Fabric Capacity. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + public CapacityArgs build() { + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("CapacityArgs", "resourceGroupName"); + } + if ($.sku == null) { + throw new MissingRequiredPropertyException("CapacityArgs", "sku"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacitySkuArgs.java b/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacitySkuArgs.java new file mode 100644 index 0000000000..dc2409a039 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacitySkuArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.fabric.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class CapacitySkuArgs extends com.pulumi.resources.ResourceArgs { + + public static final CapacitySkuArgs Empty = new CapacitySkuArgs(); + + /** + * The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + */ + public Output name() { + return this.name; + } + + /** + * The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + */ + @Import(name="tier", required=true) + private Output tier; + + /** + * @return The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + */ + public Output tier() { + return this.tier; + } + + private CapacitySkuArgs() {} + + private CapacitySkuArgs(CapacitySkuArgs $) { + this.name = $.name; + this.tier = $.tier; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CapacitySkuArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CapacitySkuArgs $; + + public Builder() { + $ = new CapacitySkuArgs(); + } + + public Builder(CapacitySkuArgs defaults) { + $ = new CapacitySkuArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param tier The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + * @return builder + * + */ + public Builder tier(Output tier) { + $.tier = tier; + return this; + } + + /** + * @param tier The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + * @return builder + * + */ + public Builder tier(String tier) { + return tier(Output.of(tier)); + } + + public CapacitySkuArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("CapacitySkuArgs", "name"); + } + if ($.tier == null) { + throw new MissingRequiredPropertyException("CapacitySkuArgs", "tier"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacityState.java b/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacityState.java new file mode 100644 index 0000000000..5e815ee37a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/fabric/inputs/CapacityState.java @@ -0,0 +1,281 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.fabric.inputs; + +import com.pulumi.azure.fabric.inputs.CapacitySkuArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CapacityState extends com.pulumi.resources.ResourceArgs { + + public static final CapacityState Empty = new CapacityState(); + + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + @Import(name="administrationMembers") + private @Nullable Output> administrationMembers; + + /** + * @return An array of administrator user identities. The member must be an Entra member user or a service principal. + * + */ + public Optional>> administrationMembers() { + return Optional.ofNullable(this.administrationMembers); + } + + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + @Import(name="location") + private @Nullable Output location; + + /** + * @return The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + */ + public Optional> location() { + return Optional.ofNullable(this.location); + } + + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + @Import(name="resourceGroupName") + private @Nullable Output resourceGroupName; + + /** + * @return The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + */ + public Optional> resourceGroupName() { + return Optional.ofNullable(this.resourceGroupName); + } + + /** + * A `sku` block as defined below. + * + */ + @Import(name="sku") + private @Nullable Output sku; + + /** + * @return A `sku` block as defined below. + * + */ + public Optional> sku() { + return Optional.ofNullable(this.sku); + } + + /** + * A mapping of tags to assign to the Fabric Capacity. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the Fabric Capacity. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + private CapacityState() {} + + private CapacityState(CapacityState $) { + this.administrationMembers = $.administrationMembers; + this.location = $.location; + this.name = $.name; + this.resourceGroupName = $.resourceGroupName; + this.sku = $.sku; + this.tags = $.tags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CapacityState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CapacityState $; + + public Builder() { + $ = new CapacityState(); + } + + public Builder(CapacityState defaults) { + $ = new CapacityState(Objects.requireNonNull(defaults)); + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(@Nullable Output> administrationMembers) { + $.administrationMembers = administrationMembers; + return this; + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(List administrationMembers) { + return administrationMembers(Output.of(administrationMembers)); + } + + /** + * @param administrationMembers An array of administrator user identities. The member must be an Entra member user or a service principal. + * + * @return builder + * + */ + public Builder administrationMembers(String... administrationMembers) { + return administrationMembers(List.of(administrationMembers)); + } + + /** + * @param location The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(@Nullable Output location) { + $.location = location; + return this; + } + + /** + * @param location The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(String location) { + return location(Output.of(location)); + } + + /** + * @param name The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param resourceGroupName The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(@Nullable Output resourceGroupName) { + $.resourceGroupName = resourceGroupName; + return this; + } + + /** + * @param resourceGroupName The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(String resourceGroupName) { + return resourceGroupName(Output.of(resourceGroupName)); + } + + /** + * @param sku A `sku` block as defined below. + * + * @return builder + * + */ + public Builder sku(@Nullable Output sku) { + $.sku = sku; + return this; + } + + /** + * @param sku A `sku` block as defined below. + * + * @return builder + * + */ + public Builder sku(CapacitySkuArgs sku) { + return sku(Output.of(sku)); + } + + /** + * @param tags A mapping of tags to assign to the Fabric Capacity. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the Fabric Capacity. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + public CapacityState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/fabric/outputs/CapacitySku.java b/sdk/java/src/main/java/com/pulumi/azure/fabric/outputs/CapacitySku.java new file mode 100644 index 0000000000..112f6907dd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/fabric/outputs/CapacitySku.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.azure.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class CapacitySku { + /** + * @return The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + */ + private String name; + /** + * @return The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + */ + private String tier; + + private CapacitySku() {} + /** + * @return The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + * + */ + public String name() { + return this.name; + } + /** + * @return The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + * + */ + public String tier() { + return this.tier; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CapacitySku defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String tier; + public Builder() {} + public Builder(CapacitySku defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.tier = defaults.tier; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("CapacitySku", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder tier(String tier) { + if (tier == null) { + throw new MissingRequiredPropertyException("CapacitySku", "tier"); + } + this.tier = tier; + return this; + } + public CapacitySku build() { + final var _resultValue = new CapacitySku(); + _resultValue.name = name; + _resultValue.tier = tier; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/StandardSiteConfigArgs.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/StandardSiteConfigArgs.java index 12e16416ba..b3dd3a16dd 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/StandardSiteConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/StandardSiteConfigArgs.java @@ -193,6 +193,8 @@ public Optional> linuxFxVersion() { /** * The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ @Import(name="minTlsVersion") private @Nullable Output minTlsVersion; @@ -200,6 +202,8 @@ public Optional> linuxFxVersion() { /** * @return The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional> minTlsVersion() { return Optional.ofNullable(this.minTlsVersion); @@ -276,6 +280,8 @@ public Optional>> scmIpRestr /** * Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ @Import(name="scmMinTlsVersion") private @Nullable Output scmMinTlsVersion; @@ -283,6 +289,8 @@ public Optional>> scmIpRestr /** * @return Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional> scmMinTlsVersion() { return Optional.ofNullable(this.scmMinTlsVersion); @@ -662,6 +670,8 @@ public Builder linuxFxVersion(String linuxFxVersion) { /** * @param minTlsVersion The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ @@ -673,6 +683,8 @@ public Builder minTlsVersion(@Nullable Output minTlsVersion) { /** * @param minTlsVersion The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ @@ -787,6 +799,8 @@ public Builder scmIpRestrictions(StandardSiteConfigScmIpRestrictionArgs... scmIp /** * @param scmMinTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ @@ -798,6 +812,8 @@ public Builder scmMinTlsVersion(@Nullable Output scmMinTlsVersion) { /** * @param scmMinTlsVersion Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/outputs/StandardSiteConfig.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/outputs/StandardSiteConfig.java index 354cbaf383..b59fa1b158 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/outputs/StandardSiteConfig.java +++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/outputs/StandardSiteConfig.java @@ -77,6 +77,8 @@ public final class StandardSiteConfig { /** * @return The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ private @Nullable String minTlsVersion; /** @@ -106,6 +108,8 @@ public final class StandardSiteConfig { /** * @return Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ private @Nullable String scmMinTlsVersion; /** @@ -219,6 +223,8 @@ public Optional linuxFxVersion() { /** * @return The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional minTlsVersion() { return Optional.ofNullable(this.minTlsVersion); @@ -258,6 +264,8 @@ public List scmIpRestrictions() { /** * @return Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional scmMinTlsVersion() { return Optional.ofNullable(this.scmMinTlsVersion); diff --git a/sdk/java/src/main/java/com/pulumi/azure/mssql/Server.java b/sdk/java/src/main/java/com/pulumi/azure/mssql/Server.java index e1c7951947..e03e23b0c2 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/mssql/Server.java +++ b/sdk/java/src/main/java/com/pulumi/azure/mssql/Server.java @@ -314,6 +314,8 @@ public Output location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ @Export(name="minimumTlsVersion", refs={String.class}, tree="[0]") private Output minimumTlsVersion; @@ -323,6 +325,8 @@ public Output location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Output> minimumTlsVersion() { return Codegen.optional(this.minimumTlsVersion); diff --git a/sdk/java/src/main/java/com/pulumi/azure/mssql/ServerArgs.java b/sdk/java/src/main/java/com/pulumi/azure/mssql/ServerArgs.java index a06fefc19e..c0790af5a9 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/mssql/ServerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/mssql/ServerArgs.java @@ -115,6 +115,8 @@ public Optional> location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ @Import(name="minimumTlsVersion") private @Nullable Output minimumTlsVersion; @@ -124,6 +126,8 @@ public Optional> location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional> minimumTlsVersion() { return Optional.ofNullable(this.minimumTlsVersion); @@ -430,6 +434,8 @@ public Builder location(String location) { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ @@ -443,6 +449,8 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/mssql/inputs/ServerState.java b/sdk/java/src/main/java/com/pulumi/azure/mssql/inputs/ServerState.java index 714318da47..eaf0dadb92 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/mssql/inputs/ServerState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/mssql/inputs/ServerState.java @@ -130,6 +130,8 @@ public Optional> location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ @Import(name="minimumTlsVersion") private @Nullable Output minimumTlsVersion; @@ -139,6 +141,8 @@ public Optional> location() { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * */ public Optional> minimumTlsVersion() { return Optional.ofNullable(this.minimumTlsVersion); @@ -483,6 +487,8 @@ public Builder location(String location) { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ @@ -496,6 +502,8 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { * * > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/Configuration.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/Configuration.java index f9e73797b6..d4168e8fc9 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/Configuration.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/Configuration.java @@ -100,7 +100,6 @@ * .resourceGroupName(example.name()) * .sku("publicpreview_Monthly_gmz7xq9ge3py") * .location(example.location()) - * .managedResourceGroup("example") * .diagnoseSupportEnabled(true) * .frontendPublic(DeploymentFrontendPublicArgs.builder() * .ipAddresses(examplePublicIp.id()) diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/Deployment.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/Deployment.java index 49bd08a7cb..3847f63df4 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/Deployment.java @@ -104,7 +104,6 @@ * .resourceGroupName(example.name()) * .sku("standardv2_Monthly") * .location(example.location()) - * .managedResourceGroup("example") * .diagnoseSupportEnabled(true) * .automaticUpgradeChannel("stable") * .frontendPublic(DeploymentFrontendPublicArgs.builder() @@ -293,16 +292,14 @@ public Output>> loggingStorageAcc return Codegen.optional(this.loggingStorageAccounts); } /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ @Export(name="managedResourceGroup", refs={String.class}, tree="[0]") private Output managedResourceGroup; - /** - * @return Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - * - */ public Output managedResourceGroup() { return this.managedResourceGroup; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/DeploymentArgs.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/DeploymentArgs.java index 9f61e1e142..8b7d0b59cb 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/DeploymentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/DeploymentArgs.java @@ -181,16 +181,20 @@ public Optional>> loggingStorag } /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ @Import(name="managedResourceGroup") private @Nullable Output managedResourceGroup; /** - * @return Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Optional> managedResourceGroup() { return Optional.ofNullable(this.managedResourceGroup); } @@ -546,22 +550,26 @@ public Builder loggingStorageAccounts(DeploymentLoggingStorageAccountArgs... log } /** - * @param managedResourceGroup Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - * * @return builder * + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Builder managedResourceGroup(@Nullable Output managedResourceGroup) { $.managedResourceGroup = managedResourceGroup; return this; } /** - * @param managedResourceGroup Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - * * @return builder * + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Builder managedResourceGroup(String managedResourceGroup) { return managedResourceGroup(Output.of(managedResourceGroup)); } diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/inputs/DeploymentState.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/inputs/DeploymentState.java index ca0562a279..0700c7d1e6 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/inputs/DeploymentState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/inputs/DeploymentState.java @@ -195,16 +195,20 @@ public Optional>> loggingStorag } /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ @Import(name="managedResourceGroup") private @Nullable Output managedResourceGroup; /** - * @return Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Optional> managedResourceGroup() { return Optional.ofNullable(this.managedResourceGroup); } @@ -598,22 +602,26 @@ public Builder loggingStorageAccounts(DeploymentLoggingStorageAccountArgs... log } /** - * @param managedResourceGroup Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - * * @return builder * + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Builder managedResourceGroup(@Nullable Output managedResourceGroup) { $.managedResourceGroup = managedResourceGroup; return this; } /** - * @param managedResourceGroup Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - * * @return builder * + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public Builder managedResourceGroup(String managedResourceGroup) { return managedResourceGroup(Output.of(managedResourceGroup)); } diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationProtectedFile.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationProtectedFile.java index 31ee3e3366..009480c2c0 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationProtectedFile.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationProtectedFile.java @@ -13,7 +13,11 @@ public final class GetConfigurationProtectedFile { /** * @return The base-64 encoded contents of this configuration file. * + * @deprecated + * the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. */ private String content; /** * @return The path of this configuration file. @@ -25,7 +29,11 @@ private GetConfigurationProtectedFile() {} /** * @return The base-64 encoded contents of this configuration file. * + * @deprecated + * the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. + * */ + @Deprecated /* the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. */ public String content() { return this.content; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationResult.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationResult.java index e55a9e38d4..c8370390fa 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationResult.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetConfigurationResult.java @@ -29,6 +29,10 @@ public final class GetConfigurationResult { * */ private String packageData; + /** + * @return A `protected_file` block as defined below. + * + */ private List protectedFiles; /** * @return The root file path of this Nginx Configuration. @@ -61,6 +65,10 @@ public String nginxDeploymentId() { public String packageData() { return this.packageData; } + /** + * @return A `protected_file` block as defined below. + * + */ public List protectedFiles() { return this.protectedFiles; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetDeploymentResult.java b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetDeploymentResult.java index 4913735c4f..88ff8c7e65 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetDeploymentResult.java +++ b/sdk/java/src/main/java/com/pulumi/azure/nginx/outputs/GetDeploymentResult.java @@ -81,9 +81,11 @@ public final class GetDeploymentResult { */ private List loggingStorageAccounts; /** - * @return Auto-generated managed resource group for the NGINX Deployment. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ private String managedResourceGroup; /** * @return Name of the autoscaling profile. @@ -198,9 +200,11 @@ public List loggingStorageAccounts() { return this.loggingStorageAccounts; } /** - * @return Auto-generated managed resource group for the NGINX Deployment. + * @deprecated + * The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. * */ + @Deprecated /* The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public String managedResourceGroup() { return this.managedResourceGroup; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/orbital/Contact.java b/sdk/java/src/main/java/com/pulumi/azure/orbital/Contact.java index bd572c72a0..b48bdf8c3e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/orbital/Contact.java +++ b/sdk/java/src/main/java/com/pulumi/azure/orbital/Contact.java @@ -16,6 +16,8 @@ /** * Manages an orbital contact. * + * > **Note:** The `azure.orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> diff --git a/sdk/java/src/main/java/com/pulumi/azure/orbital/ContactProfile.java b/sdk/java/src/main/java/com/pulumi/azure/orbital/ContactProfile.java index 327c29d55e..9addb45b5c 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/orbital/ContactProfile.java +++ b/sdk/java/src/main/java/com/pulumi/azure/orbital/ContactProfile.java @@ -21,6 +21,8 @@ /** * Manages a Contact profile. * + * > **Note:** The `azure.orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> diff --git a/sdk/java/src/main/java/com/pulumi/azure/orbital/Spacecraft.java b/sdk/java/src/main/java/com/pulumi/azure/orbital/Spacecraft.java index 74dae889c0..d195708c5f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/orbital/Spacecraft.java +++ b/sdk/java/src/main/java/com/pulumi/azure/orbital/Spacecraft.java @@ -20,6 +20,8 @@ /** * Manages a Spacecraft. * + * > **Note:** The `azure.orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> diff --git a/sdk/java/src/main/java/com/pulumi/azure/search/Service.java b/sdk/java/src/main/java/com/pulumi/azure/search/Service.java index 22a53bfc13..28db97c7e3 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/search/Service.java +++ b/sdk/java/src/main/java/com/pulumi/azure/search/Service.java @@ -312,6 +312,20 @@ public Output location() { public Output name() { return this.name; } + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + @Export(name="networkRuleBypassOption", refs={String.class}, tree="[0]") + private Output networkRuleBypassOption; + + /** + * @return Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + public Output> networkRuleBypassOption() { + return Codegen.optional(this.networkRuleBypassOption); + } /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/search/ServiceArgs.java b/sdk/java/src/main/java/com/pulumi/azure/search/ServiceArgs.java index 7402d02605..ec656b24f1 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/search/ServiceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/search/ServiceArgs.java @@ -153,6 +153,21 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + @Import(name="networkRuleBypassOption") + private @Nullable Output networkRuleBypassOption; + + /** + * @return Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + public Optional> networkRuleBypassOption() { + return Optional.ofNullable(this.networkRuleBypassOption); + } + /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * @@ -285,6 +300,7 @@ private ServiceArgs(ServiceArgs $) { this.localAuthenticationEnabled = $.localAuthenticationEnabled; this.location = $.location; this.name = $.name; + this.networkRuleBypassOption = $.networkRuleBypassOption; this.partitionCount = $.partitionCount; this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled; this.replicaCount = $.replicaCount; @@ -504,6 +520,27 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param networkRuleBypassOption Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + * @return builder + * + */ + public Builder networkRuleBypassOption(@Nullable Output networkRuleBypassOption) { + $.networkRuleBypassOption = networkRuleBypassOption; + return this; + } + + /** + * @param networkRuleBypassOption Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + * @return builder + * + */ + public Builder networkRuleBypassOption(String networkRuleBypassOption) { + return networkRuleBypassOption(Output.of(networkRuleBypassOption)); + } + /** * @param partitionCount Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/search/inputs/ServiceState.java b/sdk/java/src/main/java/com/pulumi/azure/search/inputs/ServiceState.java index 7f19e79d0b..90a7c7e0dc 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/search/inputs/ServiceState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/search/inputs/ServiceState.java @@ -168,6 +168,21 @@ public Optional> name() { return Optional.ofNullable(this.name); } + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + @Import(name="networkRuleBypassOption") + private @Nullable Output networkRuleBypassOption; + + /** + * @return Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + */ + public Optional> networkRuleBypassOption() { + return Optional.ofNullable(this.networkRuleBypassOption); + } + /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * @@ -346,6 +361,7 @@ private ServiceState(ServiceState $) { this.localAuthenticationEnabled = $.localAuthenticationEnabled; this.location = $.location; this.name = $.name; + this.networkRuleBypassOption = $.networkRuleBypassOption; this.partitionCount = $.partitionCount; this.primaryKey = $.primaryKey; this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled; @@ -589,6 +605,27 @@ public Builder name(String name) { return name(Output.of(name)); } + /** + * @param networkRuleBypassOption Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + * @return builder + * + */ + public Builder networkRuleBypassOption(@Nullable Output networkRuleBypassOption) { + $.networkRuleBypassOption = networkRuleBypassOption; + return this; + } + + /** + * @param networkRuleBypassOption Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + * + * @return builder + * + */ + public Builder networkRuleBypassOption(String networkRuleBypassOption) { + return networkRuleBypassOption(Output.of(networkRuleBypassOption)); + } + /** * @param partitionCount Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerArgs.java b/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerArgs.java index d5b79f69dd..212d70bbda 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerArgs.java @@ -48,7 +48,7 @@ public Output name() { } /** - * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * The id 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. * @@ -57,7 +57,7 @@ public Output name() { private @Nullable Output storageAccountId; /** - * @return The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * @return The id 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. * @@ -151,7 +151,7 @@ public Builder name(String name) { } /** - * @param storageAccountId The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * @param storageAccountId The id 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. * @@ -164,7 +164,7 @@ public Builder storageAccountId(@Nullable Output storageAccountId) { } /** - * @param storageAccountId The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * @param storageAccountId The id 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. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerPlainArgs.java b/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerPlainArgs.java index 0704332575..f958986c9a 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/storage/inputs/GetStorageContainerPlainArgs.java @@ -47,7 +47,7 @@ public String name() { } /** - * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * The id 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. * @@ -56,7 +56,7 @@ public String name() { private @Nullable String storageAccountId; /** - * @return The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * @return The id 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. * @@ -130,7 +130,7 @@ public Builder name(String name) { } /** - * @param storageAccountId The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * @param storageAccountId The id 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. * diff --git a/sdk/nodejs/apimanagement/apiDiagnostic.ts b/sdk/nodejs/apimanagement/apiDiagnostic.ts index ca15e29f80..3c0a6461b0 100644 --- a/sdk/nodejs/apimanagement/apiDiagnostic.ts +++ b/sdk/nodejs/apimanagement/apiDiagnostic.ts @@ -43,7 +43,7 @@ import * as utilities from "../utilities"; * protocols: ["https"], * "import": { * contentFormat: "swagger-link-json", - * contentValue: "http://conferenceapi.azurewebsites.net/?format=json", + * contentValue: "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", * }, * }); * const exampleLogger = new azure.apimanagement.Logger("example", { diff --git a/sdk/nodejs/apimanagement/apiRelease.ts b/sdk/nodejs/apimanagement/apiRelease.ts index bccc306dc0..02709fdaec 100644 --- a/sdk/nodejs/apimanagement/apiRelease.ts +++ b/sdk/nodejs/apimanagement/apiRelease.ts @@ -35,7 +35,7 @@ import * as utilities from "../utilities"; * protocols: ["https"], * "import": { * contentFormat: "swagger-link-json", - * contentValue: "http://conferenceapi.azurewebsites.net/?format=json", + * contentValue: "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", * }, * }); * const exampleApiRelease = new azure.apimanagement.ApiRelease("example", { diff --git a/sdk/nodejs/automation/softwareUpdateConfiguration.ts b/sdk/nodejs/automation/softwareUpdateConfiguration.ts index 9d4e891e21..56d5b0ac97 100644 --- a/sdk/nodejs/automation/softwareUpdateConfiguration.ts +++ b/sdk/nodejs/automation/softwareUpdateConfiguration.ts @@ -7,7 +7,7 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * Manages an Automation Software Update Configuraion. + * Manages an Automation Software Update Configuration. * * ## Example Usage * diff --git a/sdk/nodejs/cognitive/accountRaiBlocklist.ts b/sdk/nodejs/cognitive/accountRaiBlocklist.ts new file mode 100644 index 0000000000..7ae7b2363e --- /dev/null +++ b/sdk/nodejs/cognitive/accountRaiBlocklist.ts @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * Manages a Cognitive Account Rai Blocklist. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as azure from "@pulumi/azure"; + * + * const example = new azure.core.ResourceGroup("example", { + * name: "example-resources", + * location: "Brazil South", + * }); + * const exampleAccount = new azure.cognitive.Account("example", { + * name: "example-ca", + * location: example.location, + * resourceGroupName: example.name, + * kind: "OpenAI", + * skuName: "S0", + * }); + * const exampleAccountRaiBlocklist = new azure.cognitive.AccountRaiBlocklist("example", { + * name: "example-crb", + * cognitiveAccountId: exampleAccount.id, + * description: "Azure OpenAI Rai Blocklist", + * }); + * ``` + * + * ## Import + * + * Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 + * ``` + */ +export class AccountRaiBlocklist extends pulumi.CustomResource { + /** + * Get an existing AccountRaiBlocklist resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AccountRaiBlocklistState, opts?: pulumi.CustomResourceOptions): AccountRaiBlocklist { + return new AccountRaiBlocklist(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist'; + + /** + * Returns true if the given object is an instance of AccountRaiBlocklist. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AccountRaiBlocklist { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AccountRaiBlocklist.__pulumiType; + } + + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + public readonly cognitiveAccountId!: pulumi.Output; + /** + * A short description for the Cognitive Account Rai Blocklist. + */ + public readonly description!: pulumi.Output; + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + public readonly name!: pulumi.Output; + + /** + * Create a AccountRaiBlocklist resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AccountRaiBlocklistArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AccountRaiBlocklistArgs | AccountRaiBlocklistState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AccountRaiBlocklistState | undefined; + resourceInputs["cognitiveAccountId"] = state ? state.cognitiveAccountId : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["name"] = state ? state.name : undefined; + } else { + const args = argsOrState as AccountRaiBlocklistArgs | undefined; + if ((!args || args.cognitiveAccountId === undefined) && !opts.urn) { + throw new Error("Missing required property 'cognitiveAccountId'"); + } + resourceInputs["cognitiveAccountId"] = args ? args.cognitiveAccountId : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["name"] = args ? args.name : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AccountRaiBlocklist.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AccountRaiBlocklist resources. + */ +export interface AccountRaiBlocklistState { + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + cognitiveAccountId?: pulumi.Input; + /** + * A short description for the Cognitive Account Rai Blocklist. + */ + description?: pulumi.Input; + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + name?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AccountRaiBlocklist resource. + */ +export interface AccountRaiBlocklistArgs { + /** + * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + cognitiveAccountId: pulumi.Input; + /** + * A short description for the Cognitive Account Rai Blocklist. + */ + description?: pulumi.Input; + /** + * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + */ + name?: pulumi.Input; +} diff --git a/sdk/nodejs/cognitive/index.ts b/sdk/nodejs/cognitive/index.ts index f26322ef5d..18f485883d 100644 --- a/sdk/nodejs/cognitive/index.ts +++ b/sdk/nodejs/cognitive/index.ts @@ -15,6 +15,11 @@ export type AccountCustomerManagedKey = import("./accountCustomerManagedKey").Ac export const AccountCustomerManagedKey: typeof import("./accountCustomerManagedKey").AccountCustomerManagedKey = null as any; utilities.lazyLoad(exports, ["AccountCustomerManagedKey"], () => require("./accountCustomerManagedKey")); +export { AccountRaiBlocklistArgs, AccountRaiBlocklistState } from "./accountRaiBlocklist"; +export type AccountRaiBlocklist = import("./accountRaiBlocklist").AccountRaiBlocklist; +export const AccountRaiBlocklist: typeof import("./accountRaiBlocklist").AccountRaiBlocklist = null as any; +utilities.lazyLoad(exports, ["AccountRaiBlocklist"], () => require("./accountRaiBlocklist")); + export { AIServicesArgs, AIServicesState } from "./aiservices"; export type AIServices = import("./aiservices").AIServices; export const AIServices: typeof import("./aiservices").AIServices = null as any; @@ -41,6 +46,8 @@ const _module = { return new Account(name, undefined, { urn }) case "azure:cognitive/accountCustomerManagedKey:AccountCustomerManagedKey": return new AccountCustomerManagedKey(name, undefined, { urn }) + case "azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist": + return new AccountRaiBlocklist(name, undefined, { urn }) case "azure:cognitive/deployment:Deployment": return new Deployment(name, undefined, { urn }) default: @@ -51,4 +58,5 @@ const _module = { pulumi.runtime.registerResourceModule("azure", "cognitive/aIServices", _module) pulumi.runtime.registerResourceModule("azure", "cognitive/account", _module) pulumi.runtime.registerResourceModule("azure", "cognitive/accountCustomerManagedKey", _module) +pulumi.runtime.registerResourceModule("azure", "cognitive/accountRaiBlocklist", _module) pulumi.runtime.registerResourceModule("azure", "cognitive/deployment", _module) diff --git a/sdk/nodejs/compute/managedDisk.ts b/sdk/nodejs/compute/managedDisk.ts index 766811acd8..2689b21108 100644 --- a/sdk/nodejs/compute/managedDisk.ts +++ b/sdk/nodejs/compute/managedDisk.ts @@ -211,8 +211,6 @@ export class ManagedDisk extends pulumi.CustomResource { public readonly osType!: pulumi.Output; /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - * - * > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. */ public readonly performancePlusEnabled!: pulumi.Output; /** @@ -492,8 +490,6 @@ export interface ManagedDiskState { osType?: pulumi.Input; /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - * - * > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. */ performancePlusEnabled?: pulumi.Input; /** @@ -674,8 +670,6 @@ export interface ManagedDiskArgs { osType?: pulumi.Input; /** * Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - * - * > **Note:** `performancePlusEnabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. */ performancePlusEnabled?: pulumi.Input; /** diff --git a/sdk/nodejs/fabric/capacity.ts b/sdk/nodejs/fabric/capacity.ts new file mode 100644 index 0000000000..415113cb0e --- /dev/null +++ b/sdk/nodejs/fabric/capacity.ts @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Manages a Fabric Capacity. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as azure from "@pulumi/azure"; + * + * const current = azure.core.getClientConfig({}); + * const example = new azure.core.ResourceGroup("example", { + * name: "example-resources", + * location: "West Europe", + * }); + * const exampleCapacity = new azure.fabric.Capacity("example", { + * name: "example-ffc", + * resourceGroupName: example.name, + * location: "West Europe", + * administrationMembers: [current.then(current => current.objectId)], + * sku: { + * name: "F32", + * tier: "Fabric", + * }, + * tags: { + * environment: "test", + * }, + * }); + * ``` + * + * ## Import + * + * Fabric Capacities can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 + * ``` + */ +export class Capacity extends pulumi.CustomResource { + /** + * Get an existing Capacity resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: CapacityState, opts?: pulumi.CustomResourceOptions): Capacity { + return new Capacity(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure:fabric/capacity:Capacity'; + + /** + * Returns true if the given object is an instance of Capacity. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Capacity { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Capacity.__pulumiType; + } + + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + */ + public readonly administrationMembers!: pulumi.Output; + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + */ + public readonly location!: pulumi.Output; + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + */ + public readonly name!: pulumi.Output; + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + */ + public readonly resourceGroupName!: pulumi.Output; + /** + * A `sku` block as defined below. + */ + public readonly sku!: pulumi.Output; + /** + * A mapping of tags to assign to the Fabric Capacity. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + + /** + * Create a Capacity resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: CapacityArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CapacityArgs | CapacityState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as CapacityState | undefined; + resourceInputs["administrationMembers"] = state ? state.administrationMembers : undefined; + resourceInputs["location"] = state ? state.location : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined; + resourceInputs["sku"] = state ? state.sku : undefined; + resourceInputs["tags"] = state ? state.tags : undefined; + } else { + const args = argsOrState as CapacityArgs | undefined; + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.sku === undefined) && !opts.urn) { + throw new Error("Missing required property 'sku'"); + } + resourceInputs["administrationMembers"] = args ? args.administrationMembers : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Capacity.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Capacity resources. + */ +export interface CapacityState { + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + */ + administrationMembers?: pulumi.Input[]>; + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + */ + location?: pulumi.Input; + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + */ + name?: pulumi.Input; + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + */ + resourceGroupName?: pulumi.Input; + /** + * A `sku` block as defined below. + */ + sku?: pulumi.Input; + /** + * A mapping of tags to assign to the Fabric Capacity. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} + +/** + * The set of arguments for constructing a Capacity resource. + */ +export interface CapacityArgs { + /** + * An array of administrator user identities. The member must be an Entra member user or a service principal. + */ + administrationMembers?: pulumi.Input[]>; + /** + * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + */ + location?: pulumi.Input; + /** + * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + */ + name?: pulumi.Input; + /** + * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + */ + resourceGroupName: pulumi.Input; + /** + * A `sku` block as defined below. + */ + sku: pulumi.Input; + /** + * A mapping of tags to assign to the Fabric Capacity. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/fabric/index.ts b/sdk/nodejs/fabric/index.ts new file mode 100644 index 0000000000..560cb26735 --- /dev/null +++ b/sdk/nodejs/fabric/index.ts @@ -0,0 +1,25 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +// Export members: +export { CapacityArgs, CapacityState } from "./capacity"; +export type Capacity = import("./capacity").Capacity; +export const Capacity: typeof import("./capacity").Capacity = null as any; +utilities.lazyLoad(exports, ["Capacity"], () => require("./capacity")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure:fabric/capacity:Capacity": + return new Capacity(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure", "fabric/capacity", _module) diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 10e23c867e..6bf8acbde3 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -72,6 +72,7 @@ import * as eventgrid from "./eventgrid"; import * as eventhub from "./eventhub"; import * as expressroute from "./expressroute"; import * as extendedlocation from "./extendedlocation"; +import * as fabric from "./fabric"; import * as fluidrelay from "./fluidrelay"; import * as frontdoor from "./frontdoor"; import * as graph from "./graph"; @@ -207,6 +208,7 @@ export { eventhub, expressroute, extendedlocation, + fabric, fluidrelay, frontdoor, graph, diff --git a/sdk/nodejs/mssql/server.ts b/sdk/nodejs/mssql/server.ts index a0ca5550a1..2fc82f5532 100644 --- a/sdk/nodejs/mssql/server.ts +++ b/sdk/nodejs/mssql/server.ts @@ -190,6 +190,8 @@ export class Server extends pulumi.CustomResource { * The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. * * > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ public readonly minimumTlsVersion!: pulumi.Output; /** @@ -336,6 +338,8 @@ export interface ServerState { * The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. * * > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ minimumTlsVersion?: pulumi.Input; /** @@ -414,6 +418,8 @@ export interface ServerArgs { * The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. * * > **NOTE:** The `minimumTlsVersion` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimumTlsVersion`, it's not possible to revert to `Disabled`. + * + * > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ minimumTlsVersion?: pulumi.Input; /** diff --git a/sdk/nodejs/nginx/configuration.ts b/sdk/nodejs/nginx/configuration.ts index eb4085a128..f6e226a917 100644 --- a/sdk/nodejs/nginx/configuration.ts +++ b/sdk/nodejs/nginx/configuration.ts @@ -54,7 +54,6 @@ import * as utilities from "../utilities"; * resourceGroupName: example.name, * sku: "publicpreview_Monthly_gmz7xq9ge3py", * location: example.location, - * managedResourceGroup: "example", * diagnoseSupportEnabled: true, * frontendPublic: { * ipAddresses: [examplePublicIp.id], diff --git a/sdk/nodejs/nginx/deployment.ts b/sdk/nodejs/nginx/deployment.ts index 6325bf9f05..baf57a305b 100644 --- a/sdk/nodejs/nginx/deployment.ts +++ b/sdk/nodejs/nginx/deployment.ts @@ -53,7 +53,6 @@ import * as utilities from "../utilities"; * resourceGroupName: example.name, * sku: "standardv2_Monthly", * location: example.location, - * managedResourceGroup: "example", * diagnoseSupportEnabled: true, * automaticUpgradeChannel: "stable", * frontendPublic: { @@ -150,7 +149,7 @@ export class Deployment extends pulumi.CustomResource { */ public readonly loggingStorageAccounts!: pulumi.Output; /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ public readonly managedResourceGroup!: pulumi.Output; /** @@ -289,7 +288,7 @@ export interface DeploymentState { */ loggingStorageAccounts?: pulumi.Input[]>; /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ managedResourceGroup?: pulumi.Input; /** @@ -362,7 +361,7 @@ export interface DeploymentArgs { */ loggingStorageAccounts?: pulumi.Input[]>; /** - * Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. + * @deprecated The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ managedResourceGroup?: pulumi.Input; /** diff --git a/sdk/nodejs/nginx/getConfiguration.ts b/sdk/nodejs/nginx/getConfiguration.ts index 9176217739..950e7b8711 100644 --- a/sdk/nodejs/nginx/getConfiguration.ts +++ b/sdk/nodejs/nginx/getConfiguration.ts @@ -55,6 +55,9 @@ export interface GetConfigurationResult { * The package data for this configuration. */ readonly packageData: string; + /** + * A `protectedFile` block as defined below. + */ readonly protectedFiles: outputs.nginx.GetConfigurationProtectedFile[]; /** * The root file path of this Nginx Configuration. diff --git a/sdk/nodejs/nginx/getDeployment.ts b/sdk/nodejs/nginx/getDeployment.ts index 2bf82e0c12..dce849b58a 100644 --- a/sdk/nodejs/nginx/getDeployment.ts +++ b/sdk/nodejs/nginx/getDeployment.ts @@ -97,7 +97,7 @@ export interface GetDeploymentResult { */ readonly loggingStorageAccounts: outputs.nginx.GetDeploymentLoggingStorageAccount[]; /** - * Auto-generated managed resource group for the NGINX Deployment. + * @deprecated The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ readonly managedResourceGroup: string; /** diff --git a/sdk/nodejs/orbital/contact.ts b/sdk/nodejs/orbital/contact.ts index 8fb925ca0e..a1967e4f44 100644 --- a/sdk/nodejs/orbital/contact.ts +++ b/sdk/nodejs/orbital/contact.ts @@ -7,6 +7,8 @@ import * as utilities from "../utilities"; /** * Manages an orbital contact. * + * > **Note:** The `azure.orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * ```typescript diff --git a/sdk/nodejs/orbital/contactProfile.ts b/sdk/nodejs/orbital/contactProfile.ts index c5c9517071..8ca238dcaf 100644 --- a/sdk/nodejs/orbital/contactProfile.ts +++ b/sdk/nodejs/orbital/contactProfile.ts @@ -9,6 +9,8 @@ import * as utilities from "../utilities"; /** * Manages a Contact profile. * + * > **Note:** The `azure.orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * ```typescript diff --git a/sdk/nodejs/orbital/spacecraft.ts b/sdk/nodejs/orbital/spacecraft.ts index ba072c7e5b..10b362d2df 100644 --- a/sdk/nodejs/orbital/spacecraft.ts +++ b/sdk/nodejs/orbital/spacecraft.ts @@ -9,6 +9,8 @@ import * as utilities from "../utilities"; /** * Manages a Spacecraft. * + * > **Note:** The `azure.orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + * * ## Example Usage * * ```typescript diff --git a/sdk/nodejs/search/service.ts b/sdk/nodejs/search/service.ts index de5c7e47a4..a28d302ec4 100644 --- a/sdk/nodejs/search/service.ts +++ b/sdk/nodejs/search/service.ts @@ -146,6 +146,10 @@ export class Service extends pulumi.CustomResource { * The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. */ public readonly name!: pulumi.Output; + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + */ + public readonly networkRuleBypassOption!: pulumi.Output; /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * @@ -217,6 +221,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["localAuthenticationEnabled"] = state ? state.localAuthenticationEnabled : undefined; resourceInputs["location"] = state ? state.location : undefined; resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["networkRuleBypassOption"] = state ? state.networkRuleBypassOption : undefined; resourceInputs["partitionCount"] = state ? state.partitionCount : undefined; resourceInputs["primaryKey"] = state ? state.primaryKey : undefined; resourceInputs["publicNetworkAccessEnabled"] = state ? state.publicNetworkAccessEnabled : undefined; @@ -243,6 +248,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["localAuthenticationEnabled"] = args ? args.localAuthenticationEnabled : undefined; resourceInputs["location"] = args ? args.location : undefined; resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["networkRuleBypassOption"] = args ? args.networkRuleBypassOption : undefined; resourceInputs["partitionCount"] = args ? args.partitionCount : undefined; resourceInputs["publicNetworkAccessEnabled"] = args ? args.publicNetworkAccessEnabled : undefined; resourceInputs["replicaCount"] = args ? args.replicaCount : undefined; @@ -308,6 +314,10 @@ export interface ServiceState { * The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. */ name?: pulumi.Input; + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + */ + networkRuleBypassOption?: pulumi.Input; /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * @@ -400,6 +410,10 @@ export interface ServiceArgs { * The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. */ name?: pulumi.Input; + /** + * Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + */ + networkRuleBypassOption?: pulumi.Input; /** * Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. * diff --git a/sdk/nodejs/storage/getStorageContainer.ts b/sdk/nodejs/storage/getStorageContainer.ts index a8685763f3..2526338c3f 100644 --- a/sdk/nodejs/storage/getStorageContainer.ts +++ b/sdk/nodejs/storage/getStorageContainer.ts @@ -46,7 +46,7 @@ export interface GetStorageContainerArgs { */ name: string; /** - * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * The id of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. * * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. */ @@ -139,7 +139,7 @@ export interface GetStorageContainerOutputArgs { */ name: pulumi.Input; /** - * The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + * The id of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. * * > **NOTE:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. */ diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index e85eae4564..a5a9237fdb 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -334,6 +334,7 @@ "chaosstudio/target.ts", "cognitive/account.ts", "cognitive/accountCustomerManagedKey.ts", + "cognitive/accountRaiBlocklist.ts", "cognitive/aiservices.ts", "cognitive/deployment.ts", "cognitive/getAccount.ts", @@ -769,6 +770,8 @@ "expressroute/index.ts", "extendedlocation/customLocation.ts", "extendedlocation/index.ts", + "fabric/capacity.ts", + "fabric/index.ts", "fluidrelay/index.ts", "fluidrelay/server.ts", "frontdoor/customHttpsConfiguration.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 7d2f2b4a12..92806a8b29 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -4076,7 +4076,7 @@ export namespace appservice { */ scmType?: pulumi.Input; /** - * IP security restrictions for scm to use main. Defaults to `false`. + * IP security restrictions for scm to use main. Defaults to `false`. * * > **NOTE** Any `scmIpRestriction` blocks configured are ignored by the service when `scmUseMainIpRestriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. */ @@ -5447,7 +5447,9 @@ export namespace appservice { */ dotnetVersion?: pulumi.Input; /** - * The Version of Java to use. Supported versions include `8`, `11` & `17`. + * The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `javaVersion`. */ javaVersion?: pulumi.Input; /** @@ -6369,7 +6371,7 @@ export namespace appservice { */ managedPipelineMode?: pulumi.Input; /** - * 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`. + * 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`. */ minimumTlsVersion?: pulumi.Input; /** @@ -6399,7 +6401,7 @@ export namespace appservice { */ scmIpRestrictions?: pulumi.Input[]>; /** - * 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`. + * Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. */ scmMinimumTlsVersion?: pulumi.Input; /** @@ -7577,7 +7579,7 @@ export namespace appservice { */ javaServerVersion?: pulumi.Input; /** - * The Version of Java to use. Possible values include `8`, `11`, and `17`. + * The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -10571,7 +10573,7 @@ export namespace appservice { */ dotnetVersion?: pulumi.Input; /** - * The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). */ javaVersion?: pulumi.Input; /** @@ -11452,7 +11454,7 @@ export namespace appservice { */ managedPipelineMode?: pulumi.Input; /** - * 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`. + * 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`. */ minimumTlsVersion?: pulumi.Input; /** @@ -11482,7 +11484,7 @@ export namespace appservice { */ scmIpRestrictions?: pulumi.Input[]>; /** - * 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`. + * Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. */ scmMinimumTlsVersion?: pulumi.Input; /** @@ -31950,6 +31952,19 @@ export namespace extendedlocation { } } +export namespace fabric { + export interface CapacitySku { + /** + * The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + */ + name: pulumi.Input; + /** + * The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + */ + tier: pulumi.Input; + } +} + export namespace fluidrelay { export interface ServerCustomerManagedKey { /** @@ -37465,6 +37480,8 @@ export namespace logicapps { linuxFxVersion?: pulumi.Input; /** * The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ minTlsVersion?: pulumi.Input; /** @@ -37487,6 +37504,8 @@ export namespace logicapps { scmIpRestrictions?: pulumi.Input[]>; /** * Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ scmMinTlsVersion?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index e141f21d49..9878dbc7d9 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -4464,7 +4464,7 @@ export namespace appservice { */ scmType: string; /** - * IP security restrictions for scm to use main. Defaults to `false`. + * IP security restrictions for scm to use main. Defaults to `false`. * * > **NOTE** Any `scmIpRestriction` blocks configured are ignored by the service when `scmUseMainIpRestriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. */ @@ -10584,7 +10584,9 @@ export namespace appservice { */ dotnetVersion?: string; /** - * The Version of Java to use. Supported versions include `8`, `11` & `17`. + * The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + * + * > **NOTE:** The value `21` is currently in Preview for `javaVersion`. */ javaVersion?: string; /** @@ -11506,7 +11508,7 @@ export namespace appservice { */ managedPipelineMode?: string; /** - * 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`. + * 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`. */ minimumTlsVersion?: string; /** @@ -11536,7 +11538,7 @@ export namespace appservice { */ scmIpRestrictions?: outputs.appservice.LinuxFunctionAppSlotSiteConfigScmIpRestriction[]; /** - * 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`. + * Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. */ scmMinimumTlsVersion?: string; /** @@ -12714,7 +12716,7 @@ export namespace appservice { */ javaServerVersion?: string; /** - * The Version of Java to use. Possible values include `8`, `11`, and `17`. + * The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. * * > **NOTE:** The valid version combinations for `javaVersion`, `javaServer` and `javaServerVersion` can be checked from the command line via `az webapp list-runtimes --linux`. * @@ -15708,7 +15710,7 @@ export namespace appservice { */ dotnetVersion?: string; /** - * The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + * The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). */ javaVersion?: string; /** @@ -16589,7 +16591,7 @@ export namespace appservice { */ managedPipelineMode?: string; /** - * 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`. + * 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`. */ minimumTlsVersion?: string; /** @@ -16619,7 +16621,7 @@ export namespace appservice { */ scmIpRestrictions?: outputs.appservice.WindowsFunctionAppSlotSiteConfigScmIpRestriction[]; /** - * 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`. + * Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. */ scmMinimumTlsVersion?: string; /** @@ -41082,6 +41084,20 @@ export namespace extendedlocation { } +export namespace fabric { + export interface CapacitySku { + /** + * The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + */ + name: string; + /** + * The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + */ + tier: string; + } + +} + export namespace fluidrelay { export interface ServerCustomerManagedKey { /** @@ -47013,6 +47029,8 @@ export namespace logicapps { linuxFxVersion: string; /** * The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ minTlsVersion: string; /** @@ -47035,6 +47053,8 @@ export namespace logicapps { scmIpRestrictions: outputs.logicapps.StandardSiteConfigScmIpRestriction[]; /** * Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + * + * > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. */ scmMinTlsVersion: string; /** @@ -58295,6 +58315,8 @@ export namespace nginx { export interface GetConfigurationProtectedFile { /** * The base-64 encoded contents of this configuration file. + * + * @deprecated the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider. */ content: string; /** diff --git a/sdk/python/pulumi_azure/__init__.py b/sdk/python/pulumi_azure/__init__.py index d65fbfc0e8..52d91d28bb 100644 --- a/sdk/python/pulumi_azure/__init__.py +++ b/sdk/python/pulumi_azure/__init__.py @@ -126,6 +126,8 @@ expressroute = __expressroute import pulumi_azure.extendedlocation as __extendedlocation extendedlocation = __extendedlocation + import pulumi_azure.fabric as __fabric + fabric = __fabric import pulumi_azure.fluidrelay as __fluidrelay fluidrelay = __fluidrelay import pulumi_azure.frontdoor as __frontdoor @@ -333,6 +335,7 @@ eventhub = _utilities.lazy_import('pulumi_azure.eventhub') expressroute = _utilities.lazy_import('pulumi_azure.expressroute') extendedlocation = _utilities.lazy_import('pulumi_azure.extendedlocation') + fabric = _utilities.lazy_import('pulumi_azure.fabric') fluidrelay = _utilities.lazy_import('pulumi_azure.fluidrelay') frontdoor = _utilities.lazy_import('pulumi_azure.frontdoor') graph = _utilities.lazy_import('pulumi_azure.graph') @@ -2251,6 +2254,14 @@ "azure:cognitive/accountCustomerManagedKey:AccountCustomerManagedKey": "AccountCustomerManagedKey" } }, + { + "pkg": "azure", + "mod": "cognitive/accountRaiBlocklist", + "fqn": "pulumi_azure.cognitive", + "classes": { + "azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist": "AccountRaiBlocklist" + } + }, { "pkg": "azure", "mod": "cognitive/deployment", @@ -4547,6 +4558,14 @@ "azure:extendedlocation/customLocation:CustomLocation": "CustomLocation" } }, + { + "pkg": "azure", + "mod": "fabric/capacity", + "fqn": "pulumi_azure.fabric", + "classes": { + "azure:fabric/capacity:Capacity": "Capacity" + } + }, { "pkg": "azure", "mod": "fluidrelay/server", diff --git a/sdk/python/pulumi_azure/apimanagement/api_diagnostic.py b/sdk/python/pulumi_azure/apimanagement/api_diagnostic.py index 2c8bb6035e..ea8ad5f237 100644 --- a/sdk/python/pulumi_azure/apimanagement/api_diagnostic.py +++ b/sdk/python/pulumi_azure/apimanagement/api_diagnostic.py @@ -564,7 +564,7 @@ def __init__(__self__, protocols=["https"], import_={ "content_format": "swagger-link-json", - "content_value": "http://conferenceapi.azurewebsites.net/?format=json", + "content_value": "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", }) example_logger = azure.apimanagement.Logger("example", name="example-apimlogger", @@ -684,7 +684,7 @@ def __init__(__self__, protocols=["https"], import_={ "content_format": "swagger-link-json", - "content_value": "http://conferenceapi.azurewebsites.net/?format=json", + "content_value": "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", }) example_logger = azure.apimanagement.Logger("example", name="example-apimlogger", diff --git a/sdk/python/pulumi_azure/apimanagement/api_release.py b/sdk/python/pulumi_azure/apimanagement/api_release.py index aa9bd12682..cd9b9c19fb 100644 --- a/sdk/python/pulumi_azure/apimanagement/api_release.py +++ b/sdk/python/pulumi_azure/apimanagement/api_release.py @@ -165,7 +165,7 @@ def __init__(__self__, protocols=["https"], import_={ "content_format": "swagger-link-json", - "content_value": "http://conferenceapi.azurewebsites.net/?format=json", + "content_value": "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", }) example_api_release = azure.apimanagement.ApiRelease("example", name="example-Api-Release", @@ -221,7 +221,7 @@ def __init__(__self__, protocols=["https"], import_={ "content_format": "swagger-link-json", - "content_value": "http://conferenceapi.azurewebsites.net/?format=json", + "content_value": "https://raw.githubusercontent.com/hashicorp/terraform-provider-azurerm/refs/heads/main/internal/services/apimanagement/testdata/api_management_api_swagger.json", }) example_api_release = azure.apimanagement.ApiRelease("example", name="example-Api-Release", diff --git a/sdk/python/pulumi_azure/appservice/_inputs.py b/sdk/python/pulumi_azure/appservice/_inputs.py index 71649d40fc..231fc32c5c 100644 --- a/sdk/python/pulumi_azure/appservice/_inputs.py +++ b/sdk/python/pulumi_azure/appservice/_inputs.py @@ -5222,7 +5222,7 @@ class FunctionAppSiteConfigArgsDict(TypedDict): """ scm_use_main_ip_restriction: NotRequired[pulumi.Input[bool]] """ - IP security restrictions for scm to use main. Defaults to `false`. + IP security restrictions for scm to use main. Defaults to `false`. > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. """ @@ -5290,7 +5290,7 @@ def __init__(__self__, *, :param pulumi.Input[str] scm_type: The type of Source Control used by the Function App. Valid values include: `BitBucketGit`, `BitBucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None` (default), `OneDrive`, `Tfs`, `VSO`, and `VSTSRM`. > **NOTE:** This setting is incompatible with the `source_control` block which updates this value based on the setting provided. - :param pulumi.Input[bool] scm_use_main_ip_restriction: IP security restrictions for scm to use main. Defaults to `false`. + :param pulumi.Input[bool] scm_use_main_ip_restriction: IP security restrictions for scm to use main. Defaults to `false`. > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. :param pulumi.Input[bool] use32_bit_worker_process: Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to `true`. @@ -5557,7 +5557,7 @@ def scm_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="scmUseMainIpRestriction") def scm_use_main_ip_restriction(self) -> Optional[pulumi.Input[bool]]: """ - IP security restrictions for scm to use main. Defaults to `false`. + IP security restrictions for scm to use main. Defaults to `false`. > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. """ @@ -12013,7 +12013,9 @@ class LinuxFunctionAppSiteConfigApplicationStackArgsDict(TypedDict): """ java_version: NotRequired[pulumi.Input[str]] """ - The Version of Java to use. Supported versions include `8`, `11` & `17`. + The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + + > **NOTE:** The value `21` is currently in Preview for `java_version`. """ node_version: NotRequired[pulumi.Input[str]] """ @@ -12052,7 +12054,9 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['LinuxFunctionAppSiteConfigApplicationStackDockerArgs']]] dockers: One or more `docker` blocks as defined below. :param pulumi.Input[str] dotnet_version: The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0`, `8.0` and `9.0`. - :param pulumi.Input[str] java_version: The Version of Java to use. Supported versions include `8`, `11` & `17`. + :param pulumi.Input[str] java_version: The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + + > **NOTE:** The value `21` is currently in Preview for `java_version`. :param pulumi.Input[str] node_version: The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`. :param pulumi.Input[str] powershell_core_version: The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`. :param pulumi.Input[str] python_version: The version of Python to run. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`. @@ -12104,7 +12108,9 @@ def dotnet_version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[pulumi.Input[str]]: """ - The Version of Java to use. Supported versions include `8`, `11` & `17`. + The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + + > **NOTE:** The value `21` is currently in Preview for `java_version`. """ return pulumi.get(self, "java_version") @@ -16031,7 +16037,7 @@ class LinuxFunctionAppSlotSiteConfigArgsDict(TypedDict): """ minimum_tls_version: NotRequired[pulumi.Input[str]] """ - 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`. + 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: NotRequired[pulumi.Input[int]] """ @@ -16061,7 +16067,7 @@ class LinuxFunctionAppSlotSiteConfigArgsDict(TypedDict): """ scm_minimum_tls_version: NotRequired[pulumi.Input[str]] """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ scm_type: NotRequired[pulumi.Input[str]] """ @@ -16158,7 +16164,7 @@ def __init__(__self__, *, :param pulumi.Input[str] linux_fx_version: The Linux FX Version :param pulumi.Input[str] load_balancing_mode: The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted. :param pulumi.Input[str] managed_pipeline_mode: The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. - :param pulumi.Input[str] minimum_tls_version: 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`. + :param pulumi.Input[str] minimum_tls_version: 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`. :param pulumi.Input[int] pre_warmed_instance_count: The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. :param pulumi.Input[bool] remote_debugging_enabled: Should Remote Debugging be enabled. Defaults to `false`. :param pulumi.Input[str] remote_debugging_version: The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022` @@ -16167,7 +16173,7 @@ def __init__(__self__, *, > **NOTE:** Functions runtime scale monitoring can only be enabled for Elastic Premium Function Apps or Workflow Standard Logic Apps and requires a minimum prewarmed instance count of 1. :param pulumi.Input[str] scm_ip_restriction_default_action: The Default action for traffic that does not match any `scm_ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`. :param pulumi.Input[Sequence[pulumi.Input['LinuxFunctionAppSlotSiteConfigScmIpRestrictionArgs']]] scm_ip_restrictions: a `scm_ip_restriction` block as detailed below. - :param pulumi.Input[str] scm_minimum_tls_version: 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`. + :param pulumi.Input[str] scm_minimum_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. :param pulumi.Input[str] scm_type: The SCM Type in use by the Linux Function App. :param pulumi.Input[bool] scm_use_main_ip_restriction: Should the Linux Function App `ip_restriction` configuration be used for the SCM also. :param pulumi.Input[bool] use32_bit_worker: Should the Linux Web App use a 32-bit worker. @@ -16558,7 +16564,7 @@ def managed_pipeline_mode(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="minimumTlsVersion") def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ - 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`. + 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`. """ return pulumi.get(self, "minimum_tls_version") @@ -16644,7 +16650,7 @@ def scm_ip_restrictions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input @pulumi.getter(name="scmMinimumTlsVersion") def scm_minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ return pulumi.get(self, "scm_minimum_tls_version") @@ -22070,7 +22076,7 @@ class LinuxWebAppSiteConfigApplicationStackArgsDict(TypedDict): """ java_version: NotRequired[pulumi.Input[str]] """ - The Version of Java to use. Possible values include `8`, `11`, and `17`. + The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. @@ -22128,7 +22134,7 @@ def __init__(__self__, *, > **NOTE:** `JBOSSEAP` requires a Premium Service Plan SKU to be a valid option. :param pulumi.Input[str] java_server_version: The Version of the `java_server` to use. - :param pulumi.Input[str] java_version: The Version of Java to use. Possible values include `8`, `11`, and `17`. + :param pulumi.Input[str] java_version: The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. @@ -22273,7 +22279,7 @@ def java_server_version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[pulumi.Input[str]]: """ - The Version of Java to use. Possible values include `8`, `11`, and `17`. + The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. @@ -36440,7 +36446,7 @@ class WindowsFunctionAppSiteConfigApplicationStackArgsDict(TypedDict): """ java_version: NotRequired[pulumi.Input[str]] """ - The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). """ node_version: NotRequired[pulumi.Input[str]] """ @@ -36474,7 +36480,7 @@ def __init__(__self__, *, use_dotnet_isolated_runtime: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] dotnet_version: The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0`, `v8.0` and `v9.0`. Defaults to `v4.0`. - :param pulumi.Input[str] java_version: The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + :param pulumi.Input[str] java_version: The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). :param pulumi.Input[str] node_version: The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`. :param pulumi.Input[str] powershell_core_version: The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`. @@ -36511,7 +36517,7 @@ def dotnet_version(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[pulumi.Input[str]]: """ - The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). """ return pulumi.get(self, "java_version") @@ -40295,7 +40301,7 @@ class WindowsFunctionAppSlotSiteConfigArgsDict(TypedDict): """ minimum_tls_version: NotRequired[pulumi.Input[str]] """ - 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`. + 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: NotRequired[pulumi.Input[int]] """ @@ -40325,7 +40331,7 @@ class WindowsFunctionAppSlotSiteConfigArgsDict(TypedDict): """ scm_minimum_tls_version: NotRequired[pulumi.Input[str]] """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ scm_type: NotRequired[pulumi.Input[str]] """ @@ -40421,7 +40427,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['WindowsFunctionAppSlotSiteConfigIpRestrictionArgs']]] ip_restrictions: an `ip_restriction` block as detailed below. :param pulumi.Input[str] load_balancing_mode: The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted. :param pulumi.Input[str] managed_pipeline_mode: The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. - :param pulumi.Input[str] minimum_tls_version: 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`. + :param pulumi.Input[str] minimum_tls_version: 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`. :param pulumi.Input[int] pre_warmed_instance_count: The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. :param pulumi.Input[bool] remote_debugging_enabled: Should Remote Debugging be enabled. Defaults to `false`. :param pulumi.Input[str] remote_debugging_version: The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022` @@ -40430,7 +40436,7 @@ def __init__(__self__, *, > **NOTE:** Functions runtime scale monitoring can only be enabled for Elastic Premium Function Apps or Workflow Standard Logic Apps and requires a minimum prewarmed instance count of 1. :param pulumi.Input[str] scm_ip_restriction_default_action: The Default action for traffic that does not match any `scm_ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`. :param pulumi.Input[Sequence[pulumi.Input['WindowsFunctionAppSlotSiteConfigScmIpRestrictionArgs']]] scm_ip_restrictions: a `scm_ip_restriction` block as detailed below. - :param pulumi.Input[str] scm_minimum_tls_version: 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`. + :param pulumi.Input[str] scm_minimum_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. :param pulumi.Input[str] scm_type: The SCM Type in use by the Windows Function App. :param pulumi.Input[bool] scm_use_main_ip_restriction: Should the Windows Function App `ip_restriction` configuration be used for the SCM also. :param pulumi.Input[bool] use32_bit_worker: Should the Windows Web App use a 32-bit worker. Defaults to `true`. @@ -40782,7 +40788,7 @@ def managed_pipeline_mode(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="minimumTlsVersion") def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ - 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`. + 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`. """ return pulumi.get(self, "minimum_tls_version") @@ -40868,7 +40874,7 @@ def scm_ip_restrictions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input @pulumi.getter(name="scmMinimumTlsVersion") def scm_minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ return pulumi.get(self, "scm_minimum_tls_version") diff --git a/sdk/python/pulumi_azure/appservice/outputs.py b/sdk/python/pulumi_azure/appservice/outputs.py index f2053ee407..6ac1858550 100644 --- a/sdk/python/pulumi_azure/appservice/outputs.py +++ b/sdk/python/pulumi_azure/appservice/outputs.py @@ -4088,7 +4088,7 @@ def __init__(__self__, *, :param str scm_type: The type of Source Control used by the Function App. Valid values include: `BitBucketGit`, `BitBucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None` (default), `OneDrive`, `Tfs`, `VSO`, and `VSTSRM`. > **NOTE:** This setting is incompatible with the `source_control` block which updates this value based on the setting provided. - :param bool scm_use_main_ip_restriction: IP security restrictions for scm to use main. Defaults to `false`. + :param bool scm_use_main_ip_restriction: IP security restrictions for scm to use main. Defaults to `false`. > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. :param bool use32_bit_worker_process: Should the Function App run in 32 bit mode, rather than 64 bit mode? Defaults to `true`. @@ -4287,7 +4287,7 @@ def scm_type(self) -> Optional[str]: @pulumi.getter(name="scmUseMainIpRestriction") def scm_use_main_ip_restriction(self) -> Optional[bool]: """ - IP security restrictions for scm to use main. Defaults to `false`. + IP security restrictions for scm to use main. Defaults to `false`. > **NOTE** Any `scm_ip_restriction` blocks configured are ignored by the service when `scm_use_main_ip_restriction` is set to `true`. Any scm restrictions will become active if this is subsequently set to `false` or removed. """ @@ -9283,7 +9283,9 @@ def __init__(__self__, *, """ :param Sequence['LinuxFunctionAppSiteConfigApplicationStackDockerArgs'] dockers: One or more `docker` blocks as defined below. :param str dotnet_version: The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0`, `8.0` and `9.0`. - :param str java_version: The Version of Java to use. Supported versions include `8`, `11` & `17`. + :param str java_version: The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + + > **NOTE:** The value `21` is currently in Preview for `java_version`. :param str node_version: The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`. :param str powershell_core_version: The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`. :param str python_version: The version of Python to run. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`. @@ -9327,7 +9329,9 @@ def dotnet_version(self) -> Optional[str]: @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[str]: """ - The Version of Java to use. Supported versions include `8`, `11` & `17`. + The Version of Java to use. Supported versions include `8`, `11`, `17`, `21`. + + > **NOTE:** The value `21` is currently in Preview for `java_version`. """ return pulumi.get(self, "java_version") @@ -12449,7 +12453,7 @@ def __init__(__self__, *, :param str linux_fx_version: The Linux FX Version :param str load_balancing_mode: The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted. :param str managed_pipeline_mode: The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. - :param str minimum_tls_version: 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`. + :param str minimum_tls_version: 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`. :param int pre_warmed_instance_count: The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. :param bool remote_debugging_enabled: Should Remote Debugging be enabled. Defaults to `false`. :param str remote_debugging_version: The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022` @@ -12458,7 +12462,7 @@ def __init__(__self__, *, > **NOTE:** Functions runtime scale monitoring can only be enabled for Elastic Premium Function Apps or Workflow Standard Logic Apps and requires a minimum prewarmed instance count of 1. :param str scm_ip_restriction_default_action: The Default action for traffic that does not match any `scm_ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`. :param Sequence['LinuxFunctionAppSlotSiteConfigScmIpRestrictionArgs'] scm_ip_restrictions: a `scm_ip_restriction` block as detailed below. - :param str scm_minimum_tls_version: 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`. + :param str scm_minimum_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. :param str scm_type: The SCM Type in use by the Linux Function App. :param bool scm_use_main_ip_restriction: Should the Linux Function App `ip_restriction` configuration be used for the SCM also. :param bool use32_bit_worker: Should the Linux Web App use a 32-bit worker. @@ -12749,7 +12753,7 @@ def managed_pipeline_mode(self) -> Optional[str]: @pulumi.getter(name="minimumTlsVersion") def minimum_tls_version(self) -> Optional[str]: """ - 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`. + 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`. """ return pulumi.get(self, "minimum_tls_version") @@ -12807,7 +12811,7 @@ def scm_ip_restrictions(self) -> Optional[Sequence['outputs.LinuxFunctionAppSlot @pulumi.getter(name="scmMinimumTlsVersion") def scm_minimum_tls_version(self) -> Optional[str]: """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ return pulumi.get(self, "scm_minimum_tls_version") @@ -17081,7 +17085,7 @@ def __init__(__self__, *, > **NOTE:** `JBOSSEAP` requires a Premium Service Plan SKU to be a valid option. :param str java_server_version: The Version of the `java_server` to use. - :param str java_version: The Version of Java to use. Possible values include `8`, `11`, and `17`. + :param str java_version: The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. @@ -17194,7 +17198,7 @@ def java_server_version(self) -> Optional[str]: @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[str]: """ - The Version of Java to use. Possible values include `8`, `11`, and `17`. + The Version of Java to use. Possible values include `8`, `11`, `17`, and `21`. > **NOTE:** The valid version combinations for `java_version`, `java_server` and `java_server_version` can be checked from the command line via `az webapp list-runtimes --linux`. @@ -28231,7 +28235,7 @@ def __init__(__self__, *, use_dotnet_isolated_runtime: Optional[bool] = None): """ :param str dotnet_version: The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0`, `v8.0` and `v9.0`. Defaults to `v4.0`. - :param str java_version: The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + :param str java_version: The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). :param str node_version: The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`. :param str powershell_core_version: The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`. @@ -28264,7 +28268,7 @@ def dotnet_version(self) -> Optional[str]: @pulumi.getter(name="javaVersion") def java_version(self) -> Optional[str]: """ - The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview). + The Version of Java to use. Supported versions include `1.8`, `11`, `17`, `21` (In-Preview). """ return pulumi.get(self, "java_version") @@ -31274,7 +31278,7 @@ def __init__(__self__, *, :param Sequence['WindowsFunctionAppSlotSiteConfigIpRestrictionArgs'] ip_restrictions: an `ip_restriction` block as detailed below. :param str load_balancing_mode: The Site load balancing mode. Possible values include: `WeightedRoundRobin`, `LeastRequests`, `LeastResponseTime`, `WeightedTotalTraffic`, `RequestHash`, `PerSiteRoundRobin`. Defaults to `LeastRequests` if omitted. :param str managed_pipeline_mode: The Managed Pipeline mode. Possible values include: `Integrated`, `Classic`. Defaults to `Integrated`. - :param str minimum_tls_version: 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`. + :param str minimum_tls_version: 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`. :param int pre_warmed_instance_count: The number of pre-warmed instances for this function app. Only affects apps on an Elastic Premium plan. :param bool remote_debugging_enabled: Should Remote Debugging be enabled. Defaults to `false`. :param str remote_debugging_version: The Remote Debugging Version. Possible values include `VS2017`, `VS2019`, and `VS2022` @@ -31283,7 +31287,7 @@ def __init__(__self__, *, > **NOTE:** Functions runtime scale monitoring can only be enabled for Elastic Premium Function Apps or Workflow Standard Logic Apps and requires a minimum prewarmed instance count of 1. :param str scm_ip_restriction_default_action: The Default action for traffic that does not match any `scm_ip_restriction` rule. possible values include `Allow` and `Deny`. Defaults to `Allow`. :param Sequence['WindowsFunctionAppSlotSiteConfigScmIpRestrictionArgs'] scm_ip_restrictions: a `scm_ip_restriction` block as detailed below. - :param str scm_minimum_tls_version: 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`. + :param str scm_minimum_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. :param str scm_type: The SCM Type in use by the Windows Function App. :param bool scm_use_main_ip_restriction: Should the Windows Function App `ip_restriction` configuration be used for the SCM also. :param bool use32_bit_worker: Should the Windows Web App use a 32-bit worker. Defaults to `true`. @@ -31547,7 +31551,7 @@ def managed_pipeline_mode(self) -> Optional[str]: @pulumi.getter(name="minimumTlsVersion") def minimum_tls_version(self) -> Optional[str]: """ - 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`. + 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`. """ return pulumi.get(self, "minimum_tls_version") @@ -31605,7 +31609,7 @@ def scm_ip_restrictions(self) -> Optional[Sequence['outputs.WindowsFunctionAppSl @pulumi.getter(name="scmMinimumTlsVersion") def scm_minimum_tls_version(self) -> Optional[str]: """ - 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`. + Configures the minimum version of TLS required for SSL requests to the SCM site Possible values include: `1.0`, `1.1`, `1.2` and `1.3`. Defaults to `1.2`. """ return pulumi.get(self, "scm_minimum_tls_version") diff --git a/sdk/python/pulumi_azure/automation/software_update_configuration.py b/sdk/python/pulumi_azure/automation/software_update_configuration.py index 19424af59a..344d978643 100644 --- a/sdk/python/pulumi_azure/automation/software_update_configuration.py +++ b/sdk/python/pulumi_azure/automation/software_update_configuration.py @@ -442,7 +442,7 @@ def __init__(__self__, windows: Optional[pulumi.Input[Union['SoftwareUpdateConfigurationWindowsArgs', 'SoftwareUpdateConfigurationWindowsArgsDict']]] = None, __props__=None): """ - Manages an Automation Software Update Configuraion. + Manages an Automation Software Update Configuration. ## Example Usage @@ -522,7 +522,7 @@ def __init__(__self__, args: SoftwareUpdateConfigurationArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Manages an Automation Software Update Configuraion. + Manages an Automation Software Update Configuration. ## Example Usage diff --git a/sdk/python/pulumi_azure/cognitive/__init__.py b/sdk/python/pulumi_azure/cognitive/__init__.py index 2dadc6cbe2..0a54044b54 100644 --- a/sdk/python/pulumi_azure/cognitive/__init__.py +++ b/sdk/python/pulumi_azure/cognitive/__init__.py @@ -7,6 +7,7 @@ # Export this package's modules as members: from .account import * from .account_customer_managed_key import * +from .account_rai_blocklist import * from .ai_services import * from .deployment import * from .get_account import * diff --git a/sdk/python/pulumi_azure/cognitive/account_rai_blocklist.py b/sdk/python/pulumi_azure/cognitive/account_rai_blocklist.py new file mode 100644 index 0000000000..70bb91fcd5 --- /dev/null +++ b/sdk/python/pulumi_azure/cognitive/account_rai_blocklist.py @@ -0,0 +1,303 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = ['AccountRaiBlocklistArgs', 'AccountRaiBlocklist'] + +@pulumi.input_type +class AccountRaiBlocklistArgs: + def __init__(__self__, *, + cognitive_account_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a AccountRaiBlocklist resource. + :param pulumi.Input[str] cognitive_account_id: The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + :param pulumi.Input[str] description: A short description for the Cognitive Account Rai Blocklist. + :param pulumi.Input[str] name: The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + pulumi.set(__self__, "cognitive_account_id", cognitive_account_id) + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="cognitiveAccountId") + def cognitive_account_id(self) -> pulumi.Input[str]: + """ + The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "cognitive_account_id") + + @cognitive_account_id.setter + def cognitive_account_id(self, value: pulumi.Input[str]): + pulumi.set(self, "cognitive_account_id", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A short description for the Cognitive Account Rai Blocklist. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _AccountRaiBlocklistState: + def __init__(__self__, *, + cognitive_account_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering AccountRaiBlocklist resources. + :param pulumi.Input[str] cognitive_account_id: The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + :param pulumi.Input[str] description: A short description for the Cognitive Account Rai Blocklist. + :param pulumi.Input[str] name: The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + if cognitive_account_id is not None: + pulumi.set(__self__, "cognitive_account_id", cognitive_account_id) + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="cognitiveAccountId") + def cognitive_account_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "cognitive_account_id") + + @cognitive_account_id.setter + def cognitive_account_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cognitive_account_id", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A short description for the Cognitive Account Rai Blocklist. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +class AccountRaiBlocklist(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cognitive_account_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Manages a Cognitive Account Rai Blocklist. + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + example = azure.core.ResourceGroup("example", + name="example-resources", + location="Brazil South") + example_account = azure.cognitive.Account("example", + name="example-ca", + location=example.location, + resource_group_name=example.name, + kind="OpenAI", + sku_name="S0") + example_account_rai_blocklist = azure.cognitive.AccountRaiBlocklist("example", + name="example-crb", + cognitive_account_id=example_account.id, + description="Azure OpenAI Rai Blocklist") + ``` + + ## Import + + Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cognitive_account_id: The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + :param pulumi.Input[str] description: A short description for the Cognitive Account Rai Blocklist. + :param pulumi.Input[str] name: The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AccountRaiBlocklistArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages a Cognitive Account Rai Blocklist. + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + example = azure.core.ResourceGroup("example", + name="example-resources", + location="Brazil South") + example_account = azure.cognitive.Account("example", + name="example-ca", + location=example.location, + resource_group_name=example.name, + kind="OpenAI", + sku_name="S0") + example_account_rai_blocklist = azure.cognitive.AccountRaiBlocklist("example", + name="example-crb", + cognitive_account_id=example_account.id, + description="Azure OpenAI Rai Blocklist") + ``` + + ## Import + + Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 + ``` + + :param str resource_name: The name of the resource. + :param AccountRaiBlocklistArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AccountRaiBlocklistArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cognitive_account_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AccountRaiBlocklistArgs.__new__(AccountRaiBlocklistArgs) + + if cognitive_account_id is None and not opts.urn: + raise TypeError("Missing required property 'cognitive_account_id'") + __props__.__dict__["cognitive_account_id"] = cognitive_account_id + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + super(AccountRaiBlocklist, __self__).__init__( + 'azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + cognitive_account_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None) -> 'AccountRaiBlocklist': + """ + Get an existing AccountRaiBlocklist resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] cognitive_account_id: The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + :param pulumi.Input[str] description: A short description for the Cognitive Account Rai Blocklist. + :param pulumi.Input[str] name: The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AccountRaiBlocklistState.__new__(_AccountRaiBlocklistState) + + __props__.__dict__["cognitive_account_id"] = cognitive_account_id + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + return AccountRaiBlocklist(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cognitiveAccountId") + def cognitive_account_id(self) -> pulumi.Output[str]: + """ + The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "cognitive_account_id") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + A short description for the Cognitive Account Rai Blocklist. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. + """ + return pulumi.get(self, "name") + diff --git a/sdk/python/pulumi_azure/compute/managed_disk.py b/sdk/python/pulumi_azure/compute/managed_disk.py index 68e7e961b6..4ab4b196ea 100644 --- a/sdk/python/pulumi_azure/compute/managed_disk.py +++ b/sdk/python/pulumi_azure/compute/managed_disk.py @@ -106,8 +106,6 @@ def __init__(__self__, *, > **Note:** Setting `optimized_frequent_attach_enabled` to `true` causes the disks to not align with the fault domain of the Virtual Machine, which can have operational implications. :param pulumi.Input[str] os_type: Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. :param pulumi.Input[bool] performance_plus_enabled: Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. :param pulumi.Input[bool] public_network_access_enabled: Whether it is allowed to access the disk via public network. Defaults to `true`. For more information on managed disks, such as sizing options and pricing, please check out the [Azure Documentation](https://docs.microsoft.com/azure/storage/storage-managed-disks-overview). @@ -505,8 +503,6 @@ def os_type(self, value: Optional[pulumi.Input[str]]): def performance_plus_enabled(self) -> Optional[pulumi.Input[bool]]: """ Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. """ return pulumi.get(self, "performance_plus_enabled") @@ -743,8 +739,6 @@ def __init__(__self__, *, > **Note:** Setting `optimized_frequent_attach_enabled` to `true` causes the disks to not align with the fault domain of the Virtual Machine, which can have operational implications. :param pulumi.Input[str] os_type: Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. :param pulumi.Input[bool] performance_plus_enabled: Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. :param pulumi.Input[bool] public_network_access_enabled: Whether it is allowed to access the disk via public network. Defaults to `true`. For more information on managed disks, such as sizing options and pricing, please check out the [Azure Documentation](https://docs.microsoft.com/azure/storage/storage-managed-disks-overview). @@ -1123,8 +1117,6 @@ def os_type(self, value: Optional[pulumi.Input[str]]): def performance_plus_enabled(self) -> Optional[pulumi.Input[bool]]: """ Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. """ return pulumi.get(self, "performance_plus_enabled") @@ -1456,8 +1448,6 @@ def __init__(__self__, > **Note:** Setting `optimized_frequent_attach_enabled` to `true` causes the disks to not align with the fault domain of the Virtual Machine, which can have operational implications. :param pulumi.Input[str] os_type: Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. :param pulumi.Input[bool] performance_plus_enabled: Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. :param pulumi.Input[bool] public_network_access_enabled: Whether it is allowed to access the disk via public network. Defaults to `true`. For more information on managed disks, such as sizing options and pricing, please check out the [Azure Documentation](https://docs.microsoft.com/azure/storage/storage-managed-disks-overview). @@ -1756,8 +1746,6 @@ def get(resource_name: str, > **Note:** Setting `optimized_frequent_attach_enabled` to `true` causes the disks to not align with the fault domain of the Virtual Machine, which can have operational implications. :param pulumi.Input[str] os_type: Specify a value when the source of an `Import`, `ImportSecure` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`. :param pulumi.Input[bool] performance_plus_enabled: Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. :param pulumi.Input[bool] public_network_access_enabled: Whether it is allowed to access the disk via public network. Defaults to `true`. For more information on managed disks, such as sizing options and pricing, please check out the [Azure Documentation](https://docs.microsoft.com/azure/storage/storage-managed-disks-overview). @@ -2022,8 +2010,6 @@ def os_type(self) -> pulumi.Output[Optional[str]]: def performance_plus_enabled(self) -> pulumi.Output[Optional[bool]]: """ Specifies whether Performance Plus is enabled for this Managed Disk. Defaults to `false`. Changing this forces a new resource to be created. - - > **Note:** `performance_plus_enabled` can only be set to `true` when using a Managed Disk with an Ultra SSD. """ return pulumi.get(self, "performance_plus_enabled") diff --git a/sdk/python/pulumi_azure/fabric/__init__.py b/sdk/python/pulumi_azure/fabric/__init__.py new file mode 100644 index 0000000000..01884e0745 --- /dev/null +++ b/sdk/python/pulumi_azure/fabric/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from .. import _utilities +import typing +# Export this package's modules as members: +from .capacity import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure/fabric/_inputs.py b/sdk/python/pulumi_azure/fabric/_inputs.py new file mode 100644 index 0000000000..742cf3d6a5 --- /dev/null +++ b/sdk/python/pulumi_azure/fabric/_inputs.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'CapacitySkuArgs', + 'CapacitySkuArgsDict', +] + +MYPY = False + +if not MYPY: + class CapacitySkuArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + """ + tier: pulumi.Input[str] + """ + The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + """ +elif False: + CapacitySkuArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class CapacitySkuArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + tier: pulumi.Input[str]): + """ + :param pulumi.Input[str] name: The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + :param pulumi.Input[str] tier: The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tier(self) -> pulumi.Input[str]: + """ + The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + """ + return pulumi.get(self, "tier") + + @tier.setter + def tier(self, value: pulumi.Input[str]): + pulumi.set(self, "tier", value) + + diff --git a/sdk/python/pulumi_azure/fabric/capacity.py b/sdk/python/pulumi_azure/fabric/capacity.py new file mode 100644 index 0000000000..bf9b2d76bc --- /dev/null +++ b/sdk/python/pulumi_azure/fabric/capacity.py @@ -0,0 +1,453 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CapacityArgs', 'Capacity'] + +@pulumi.input_type +class CapacityArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + sku: pulumi.Input['CapacitySkuArgs'], + administration_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Capacity resource. + :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input['CapacitySkuArgs'] sku: A `sku` block as defined below. + :param pulumi.Input[Sequence[pulumi.Input[str]]] administration_members: An array of administrator user identities. The member must be an Entra member user or a service principal. + :param pulumi.Input[str] location: The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the Fabric Capacity. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "sku", sku) + if administration_members is not None: + pulumi.set(__self__, "administration_members", administration_members) + if location is not None: + pulumi.set(__self__, "location", location) + if name is not None: + pulumi.set(__self__, "name", name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input['CapacitySkuArgs']: + """ + A `sku` block as defined below. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input['CapacitySkuArgs']): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter(name="administrationMembers") + def administration_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of administrator user identities. The member must be an Entra member user or a service principal. + """ + return pulumi.get(self, "administration_members") + + @administration_members.setter + def administration_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "administration_members", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + A mapping of tags to assign to the Fabric Capacity. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class _CapacityState: + def __init__(__self__, *, + administration_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input['CapacitySkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + Input properties used for looking up and filtering Capacity resources. + :param pulumi.Input[Sequence[pulumi.Input[str]]] administration_members: An array of administrator user identities. The member must be an Entra member user or a service principal. + :param pulumi.Input[str] location: The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input['CapacitySkuArgs'] sku: A `sku` block as defined below. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the Fabric Capacity. + """ + if administration_members is not None: + pulumi.set(__self__, "administration_members", administration_members) + if location is not None: + pulumi.set(__self__, "location", location) + if name is not None: + pulumi.set(__self__, "name", name) + if resource_group_name is not None: + pulumi.set(__self__, "resource_group_name", resource_group_name) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="administrationMembers") + def administration_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + An array of administrator user identities. The member must be an Entra member user or a service principal. + """ + return pulumi.get(self, "administration_members") + + @administration_members.setter + def administration_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "administration_members", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['CapacitySkuArgs']]: + """ + A `sku` block as defined below. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['CapacitySkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + A mapping of tags to assign to the Fabric Capacity. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class Capacity(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + administration_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[Union['CapacitySkuArgs', 'CapacitySkuArgsDict']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Manages a Fabric Capacity. + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + current = azure.core.get_client_config() + example = azure.core.ResourceGroup("example", + name="example-resources", + location="West Europe") + example_capacity = azure.fabric.Capacity("example", + name="example-ffc", + resource_group_name=example.name, + location="West Europe", + administration_members=[current.object_id], + sku={ + "name": "F32", + "tier": "Fabric", + }, + tags={ + "environment": "test", + }) + ``` + + ## Import + + Fabric Capacities can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] administration_members: An array of administrator user identities. The member must be an Entra member user or a service principal. + :param pulumi.Input[str] location: The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[Union['CapacitySkuArgs', 'CapacitySkuArgsDict']] sku: A `sku` block as defined below. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the Fabric Capacity. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CapacityArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages a Fabric Capacity. + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + current = azure.core.get_client_config() + example = azure.core.ResourceGroup("example", + name="example-resources", + location="West Europe") + example_capacity = azure.fabric.Capacity("example", + name="example-ffc", + resource_group_name=example.name, + location="West Europe", + administration_members=[current.object_id], + sku={ + "name": "F32", + "tier": "Fabric", + }, + tags={ + "environment": "test", + }) + ``` + + ## Import + + Fabric Capacities can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 + ``` + + :param str resource_name: The name of the resource. + :param CapacityArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CapacityArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + administration_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[Union['CapacitySkuArgs', 'CapacitySkuArgsDict']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CapacityArgs.__new__(CapacityArgs) + + __props__.__dict__["administration_members"] = administration_members + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if sku is None and not opts.urn: + raise TypeError("Missing required property 'sku'") + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + super(Capacity, __self__).__init__( + 'azure:fabric/capacity:Capacity', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + administration_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[Union['CapacitySkuArgs', 'CapacitySkuArgsDict']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Capacity': + """ + Get an existing Capacity resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] administration_members: An array of administrator user identities. The member must be an Entra member user or a service principal. + :param pulumi.Input[str] location: The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[str] resource_group_name: The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + :param pulumi.Input[Union['CapacitySkuArgs', 'CapacitySkuArgsDict']] sku: A `sku` block as defined below. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the Fabric Capacity. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CapacityState.__new__(_CapacityState) + + __props__.__dict__["administration_members"] = administration_members + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + return Capacity(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="administrationMembers") + def administration_members(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + An array of administrator user identities. The member must be an Entra member user or a service principal. + """ + return pulumi.get(self, "administration_members") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Output[str]: + """ + The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "resource_group_name") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output['outputs.CapacitySku']: + """ + A `sku` block as defined below. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + A mapping of tags to assign to the Fabric Capacity. + """ + return pulumi.get(self, "tags") + diff --git a/sdk/python/pulumi_azure/fabric/outputs.py b/sdk/python/pulumi_azure/fabric/outputs.py new file mode 100644 index 0000000000..2d8d08c268 --- /dev/null +++ b/sdk/python/pulumi_azure/fabric/outputs.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities + +__all__ = [ + 'CapacitySku', +] + +@pulumi.output_type +class CapacitySku(dict): + def __init__(__self__, *, + name: str, + tier: str): + """ + :param str name: The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + :param str tier: The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "tier", tier) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tier(self) -> str: + """ + The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`. + """ + return pulumi.get(self, "tier") + + diff --git a/sdk/python/pulumi_azure/logicapps/_inputs.py b/sdk/python/pulumi_azure/logicapps/_inputs.py index be6c0952db..9a02eb1c54 100644 --- a/sdk/python/pulumi_azure/logicapps/_inputs.py +++ b/sdk/python/pulumi_azure/logicapps/_inputs.py @@ -942,6 +942,8 @@ class StandardSiteConfigArgsDict(TypedDict): min_tls_version: NotRequired[pulumi.Input[str]] """ The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ pre_warmed_instance_count: NotRequired[pulumi.Input[int]] """ @@ -961,6 +963,8 @@ class StandardSiteConfigArgsDict(TypedDict): scm_min_tls_version: NotRequired[pulumi.Input[str]] """ Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ scm_type: NotRequired[pulumi.Input[str]] """ @@ -1027,12 +1031,16 @@ def __init__(__self__, *, > **NOTE** User has to explicitly set `ip_restriction` to empty slice (`[]`) to remove it. :param pulumi.Input[str] linux_fx_version: Linux App Framework and version for the App Service, e.g. `DOCKER|(golang:latest)`. Setting this value will also set the `kind` of application deployed to `functionapp,linux,container,workflowapp` :param pulumi.Input[str] min_tls_version: The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[int] pre_warmed_instance_count: The number of pre-warmed instances for this Logic App Only affects apps on the Premium plan. :param pulumi.Input[bool] runtime_scale_monitoring_enabled: Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to `false`. :param pulumi.Input[Sequence[pulumi.Input['StandardSiteConfigScmIpRestrictionArgs']]] scm_ip_restrictions: A list of `scm_ip_restriction` objects representing SCM IP restrictions as defined below. > **NOTE** User has to explicitly set `scm_ip_restriction` to empty slice (`[]`) to remove it. :param pulumi.Input[str] scm_min_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[str] scm_type: The type of Source Control used by the Logic App in use by the Windows Function App. Defaults to `None`. Possible values are: `BitbucketGit`, `BitbucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None`, `OneDrive`, `Tfs`, `VSO`, and `VSTSRM` :param pulumi.Input[bool] scm_use_main_ip_restriction: Should the Logic App `ip_restriction` configuration be used for the SCM too. Defaults to `false`. :param pulumi.Input[bool] use32_bit_worker_process: Should the Logic App run in 32 bit mode, rather than 64 bit mode? Defaults to `true`. @@ -1228,6 +1236,8 @@ def linux_fx_version(self, value: Optional[pulumi.Input[str]]): def min_tls_version(self) -> Optional[pulumi.Input[str]]: """ The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "min_tls_version") @@ -1288,6 +1298,8 @@ def scm_ip_restrictions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input def scm_min_tls_version(self) -> Optional[pulumi.Input[str]]: """ Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "scm_min_tls_version") diff --git a/sdk/python/pulumi_azure/logicapps/outputs.py b/sdk/python/pulumi_azure/logicapps/outputs.py index 57ffac39ac..a5aa9df8a1 100644 --- a/sdk/python/pulumi_azure/logicapps/outputs.py +++ b/sdk/python/pulumi_azure/logicapps/outputs.py @@ -747,12 +747,16 @@ def __init__(__self__, *, > **NOTE** User has to explicitly set `ip_restriction` to empty slice (`[]`) to remove it. :param str linux_fx_version: Linux App Framework and version for the App Service, e.g. `DOCKER|(golang:latest)`. Setting this value will also set the `kind` of application deployed to `functionapp,linux,container,workflowapp` :param str min_tls_version: The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param int pre_warmed_instance_count: The number of pre-warmed instances for this Logic App Only affects apps on the Premium plan. :param bool runtime_scale_monitoring_enabled: Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to `false`. :param Sequence['StandardSiteConfigScmIpRestrictionArgs'] scm_ip_restrictions: A list of `scm_ip_restriction` objects representing SCM IP restrictions as defined below. > **NOTE** User has to explicitly set `scm_ip_restriction` to empty slice (`[]`) to remove it. :param str scm_min_tls_version: Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param str scm_type: The type of Source Control used by the Logic App in use by the Windows Function App. Defaults to `None`. Possible values are: `BitbucketGit`, `BitbucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None`, `OneDrive`, `Tfs`, `VSO`, and `VSTSRM` :param bool scm_use_main_ip_restriction: Should the Logic App `ip_restriction` configuration be used for the SCM too. Defaults to `false`. :param bool use32_bit_worker_process: Should the Logic App run in 32 bit mode, rather than 64 bit mode? Defaults to `true`. @@ -901,6 +905,8 @@ def linux_fx_version(self) -> Optional[str]: def min_tls_version(self) -> Optional[str]: """ The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "min_tls_version") @@ -941,6 +947,8 @@ def scm_ip_restrictions(self) -> Optional[Sequence['outputs.StandardSiteConfigSc def scm_min_tls_version(self) -> Optional[str]: """ Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. + + > **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "scm_min_tls_version") diff --git a/sdk/python/pulumi_azure/mssql/server.py b/sdk/python/pulumi_azure/mssql/server.py index 9226bc4955..137cae5d28 100644 --- a/sdk/python/pulumi_azure/mssql/server.py +++ b/sdk/python/pulumi_azure/mssql/server.py @@ -49,6 +49,8 @@ def __init__(__self__, *, :param pulumi.Input[str] minimum_tls_version: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[str] name: The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. :param pulumi.Input[bool] outbound_network_restriction_enabled: Whether outbound network traffic is restricted for this server. Defaults to `false`. :param pulumi.Input[str] primary_user_assigned_identity_id: Specifies the primary user managed identity id. Required if `type` within the `identity` block is set to either `SystemAssigned, UserAssigned` or `UserAssigned` and should be set at same time as setting `identity_ids`. @@ -194,6 +196,8 @@ def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "minimum_tls_version") @@ -312,6 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] minimum_tls_version: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[str] name: The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. :param pulumi.Input[bool] outbound_network_restriction_enabled: Whether outbound network traffic is restricted for this server. Defaults to `false`. :param pulumi.Input[str] primary_user_assigned_identity_id: Specifies the primary user managed identity id. Required if `type` within the `identity` block is set to either `SystemAssigned, UserAssigned` or `UserAssigned` and should be set at same time as setting `identity_ids`. @@ -454,6 +460,8 @@ def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "minimum_tls_version") @@ -724,6 +732,8 @@ def __init__(__self__, :param pulumi.Input[str] minimum_tls_version: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[str] name: The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. :param pulumi.Input[bool] outbound_network_restriction_enabled: Whether outbound network traffic is restricted for this server. Defaults to `false`. :param pulumi.Input[str] primary_user_assigned_identity_id: Specifies the primary user managed identity id. Required if `type` within the `identity` block is set to either `SystemAssigned, UserAssigned` or `UserAssigned` and should be set at same time as setting `identity_ids`. @@ -969,6 +979,8 @@ def get(resource_name: str, :param pulumi.Input[str] minimum_tls_version: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. :param pulumi.Input[str] name: The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Changing this forces a new resource to be created. :param pulumi.Input[bool] outbound_network_restriction_enabled: Whether outbound network traffic is restricted for this server. Defaults to `false`. :param pulumi.Input[str] primary_user_assigned_identity_id: Specifies the primary user managed identity id. Required if `type` within the `identity` block is set to either `SystemAssigned, UserAssigned` or `UserAssigned` and should be set at same time as setting `identity_ids`. @@ -1071,6 +1083,8 @@ def minimum_tls_version(self) -> pulumi.Output[Optional[str]]: The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` , `1.2` and `Disabled`. Defaults to `1.2`. > **NOTE:** The `minimum_tls_version` is set to `Disabled` means all TLS versions are allowed. After you enforce a version of `minimum_tls_version`, it's not possible to revert to `Disabled`. + + > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. """ return pulumi.get(self, "minimum_tls_version") diff --git a/sdk/python/pulumi_azure/nginx/configuration.py b/sdk/python/pulumi_azure/nginx/configuration.py index d6f950edcb..b62e80db69 100644 --- a/sdk/python/pulumi_azure/nginx/configuration.py +++ b/sdk/python/pulumi_azure/nginx/configuration.py @@ -247,7 +247,6 @@ def __init__(__self__, resource_group_name=example.name, sku="publicpreview_Monthly_gmz7xq9ge3py", location=example.location, - managed_resource_group="example", diagnose_support_enabled=True, frontend_public={ "ip_addresses": [example_public_ip.id], @@ -356,7 +355,6 @@ def __init__(__self__, resource_group_name=example.name, sku="publicpreview_Monthly_gmz7xq9ge3py", location=example.location, - managed_resource_group="example", diagnose_support_enabled=True, frontend_public={ "ip_addresses": [example_public_ip.id], diff --git a/sdk/python/pulumi_azure/nginx/deployment.py b/sdk/python/pulumi_azure/nginx/deployment.py index 03fd8117df..ae68d2f09a 100644 --- a/sdk/python/pulumi_azure/nginx/deployment.py +++ b/sdk/python/pulumi_azure/nginx/deployment.py @@ -52,7 +52,6 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentIdentityArgs'] identity: An `identity` block as defined below. :param pulumi.Input[str] location: The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input['DeploymentLoggingStorageAccountArgs']]] logging_storage_accounts: One or more `logging_storage_account` blocks as defined below. - :param pulumi.Input[str] managed_resource_group: Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] name: The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input['DeploymentNetworkInterfaceArgs']]] network_interfaces: One or more `network_interface` blocks as defined below. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the NGINX Deployment. @@ -79,6 +78,9 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if logging_storage_accounts is not None: pulumi.set(__self__, "logging_storage_accounts", logging_storage_accounts) + if managed_resource_group is not None: + warnings.warn("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""", DeprecationWarning) + pulumi.log.warn("""managed_resource_group is deprecated: The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") if managed_resource_group is not None: pulumi.set(__self__, "managed_resource_group", managed_resource_group) if name is not None: @@ -233,10 +235,8 @@ def logging_storage_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi. @property @pulumi.getter(name="managedResourceGroup") + @_utilities.deprecated("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") def managed_resource_group(self) -> Optional[pulumi.Input[str]]: - """ - Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - """ return pulumi.get(self, "managed_resource_group") @managed_resource_group.setter @@ -316,7 +316,6 @@ def __init__(__self__, *, :param pulumi.Input[str] ip_address: The IP address of the deployment. :param pulumi.Input[str] location: The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input['DeploymentLoggingStorageAccountArgs']]] logging_storage_accounts: One or more `logging_storage_account` blocks as defined below. - :param pulumi.Input[str] managed_resource_group: Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] name: The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input['DeploymentNetworkInterfaceArgs']]] network_interfaces: One or more `network_interface` blocks as defined below. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] nginx_version: The version of deployed NGINX. @@ -345,6 +344,9 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if logging_storage_accounts is not None: pulumi.set(__self__, "logging_storage_accounts", logging_storage_accounts) + if managed_resource_group is not None: + warnings.warn("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""", DeprecationWarning) + pulumi.log.warn("""managed_resource_group is deprecated: The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") if managed_resource_group is not None: pulumi.set(__self__, "managed_resource_group", managed_resource_group) if name is not None: @@ -496,10 +498,8 @@ def logging_storage_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi. @property @pulumi.getter(name="managedResourceGroup") + @_utilities.deprecated("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") def managed_resource_group(self) -> Optional[pulumi.Input[str]]: - """ - Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - """ return pulumi.get(self, "managed_resource_group") @managed_resource_group.setter @@ -641,7 +641,6 @@ def __init__(__self__, resource_group_name=example.name, sku="standardv2_Monthly", location=example.location, - managed_resource_group="example", diagnose_support_enabled=True, automatic_upgrade_channel="stable", frontend_public={ @@ -676,7 +675,6 @@ def __init__(__self__, :param pulumi.Input[Union['DeploymentIdentityArgs', 'DeploymentIdentityArgsDict']] identity: An `identity` block as defined below. :param pulumi.Input[str] location: The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentLoggingStorageAccountArgs', 'DeploymentLoggingStorageAccountArgsDict']]]] logging_storage_accounts: One or more `logging_storage_account` blocks as defined below. - :param pulumi.Input[str] managed_resource_group: Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] name: The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentNetworkInterfaceArgs', 'DeploymentNetworkInterfaceArgsDict']]]] network_interfaces: One or more `network_interface` blocks as defined below. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] resource_group_name: The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. @@ -731,7 +729,6 @@ def __init__(__self__, resource_group_name=example.name, sku="standardv2_Monthly", location=example.location, - managed_resource_group="example", diagnose_support_enabled=True, automatic_upgrade_channel="stable", frontend_public={ @@ -862,7 +859,6 @@ def get(resource_name: str, :param pulumi.Input[str] ip_address: The IP address of the deployment. :param pulumi.Input[str] location: The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentLoggingStorageAccountArgs', 'DeploymentLoggingStorageAccountArgsDict']]]] logging_storage_accounts: One or more `logging_storage_account` blocks as defined below. - :param pulumi.Input[str] managed_resource_group: Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] name: The name which should be used for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[Sequence[pulumi.Input[Union['DeploymentNetworkInterfaceArgs', 'DeploymentNetworkInterfaceArgsDict']]]] network_interfaces: One or more `network_interface` blocks as defined below. Changing this forces a new NGINX Deployment to be created. :param pulumi.Input[str] nginx_version: The version of deployed NGINX. @@ -985,10 +981,8 @@ def logging_storage_accounts(self) -> pulumi.Output[Optional[Sequence['outputs.D @property @pulumi.getter(name="managedResourceGroup") + @_utilities.deprecated("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") def managed_resource_group(self) -> pulumi.Output[str]: - """ - Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new NGINX Deployment to be created. - """ return pulumi.get(self, "managed_resource_group") @property diff --git a/sdk/python/pulumi_azure/nginx/get_configuration.py b/sdk/python/pulumi_azure/nginx/get_configuration.py index ffd72551c7..ff9fe0c555 100644 --- a/sdk/python/pulumi_azure/nginx/get_configuration.py +++ b/sdk/python/pulumi_azure/nginx/get_configuration.py @@ -79,6 +79,9 @@ def package_data(self) -> str: @property @pulumi.getter(name="protectedFiles") def protected_files(self) -> Sequence['outputs.GetConfigurationProtectedFileResult']: + """ + A `protected_file` block as defined below. + """ return pulumi.get(self, "protected_files") @property diff --git a/sdk/python/pulumi_azure/nginx/get_deployment.py b/sdk/python/pulumi_azure/nginx/get_deployment.py index 2fdee79e94..3afc0a5029 100644 --- a/sdk/python/pulumi_azure/nginx/get_deployment.py +++ b/sdk/python/pulumi_azure/nginx/get_deployment.py @@ -184,10 +184,8 @@ def logging_storage_accounts(self) -> Sequence['outputs.GetDeploymentLoggingStor @property @pulumi.getter(name="managedResourceGroup") + @_utilities.deprecated("""The `managed_resource_group` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider.""") def managed_resource_group(self) -> str: - """ - Auto-generated managed resource group for the NGINX Deployment. - """ return pulumi.get(self, "managed_resource_group") @property diff --git a/sdk/python/pulumi_azure/nginx/outputs.py b/sdk/python/pulumi_azure/nginx/outputs.py index f16703999b..4c81280b16 100644 --- a/sdk/python/pulumi_azure/nginx/outputs.py +++ b/sdk/python/pulumi_azure/nginx/outputs.py @@ -474,6 +474,7 @@ def __init__(__self__, *, @property @pulumi.getter + @_utilities.deprecated("""the `content` property is deprecated and will be removed in v5.0 of the AzureRM Provider.""") def content(self) -> str: """ The base-64 encoded contents of this configuration file. diff --git a/sdk/python/pulumi_azure/orbital/contact.py b/sdk/python/pulumi_azure/orbital/contact.py index fb5713a31f..12e247551c 100644 --- a/sdk/python/pulumi_azure/orbital/contact.py +++ b/sdk/python/pulumi_azure/orbital/contact.py @@ -234,6 +234,8 @@ def __init__(__self__, """ Manages an orbital contact. + > **Note:** The `orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python @@ -343,6 +345,8 @@ def __init__(__self__, """ Manages an orbital contact. + > **Note:** The `orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python diff --git a/sdk/python/pulumi_azure/orbital/contact_profile.py b/sdk/python/pulumi_azure/orbital/contact_profile.py index 1349618601..000c8ce740 100644 --- a/sdk/python/pulumi_azure/orbital/contact_profile.py +++ b/sdk/python/pulumi_azure/orbital/contact_profile.py @@ -368,6 +368,8 @@ def __init__(__self__, """ Manages a Contact profile. + > **Note:** The `orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python @@ -454,6 +456,8 @@ def __init__(__self__, """ Manages a Contact profile. + > **Note:** The `orbital.ContactProfile` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python diff --git a/sdk/python/pulumi_azure/orbital/spacecraft.py b/sdk/python/pulumi_azure/orbital/spacecraft.py index 8286c20cad..89f9d51aad 100644 --- a/sdk/python/pulumi_azure/orbital/spacecraft.py +++ b/sdk/python/pulumi_azure/orbital/spacecraft.py @@ -302,6 +302,8 @@ def __init__(__self__, """ Manages a Spacecraft. + > **Note:** The `orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python @@ -361,6 +363,8 @@ def __init__(__self__, """ Manages a Spacecraft. + > **Note:** The `orbital.Spacecraft` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. + ## Example Usage ```python diff --git a/sdk/python/pulumi_azure/search/service.py b/sdk/python/pulumi_azure/search/service.py index 440c1e08e7..69e54db86e 100644 --- a/sdk/python/pulumi_azure/search/service.py +++ b/sdk/python/pulumi_azure/search/service.py @@ -31,6 +31,7 @@ def __init__(__self__, *, local_authentication_enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_rule_bypass_option: Optional[pulumi.Input[str]] = None, partition_count: Optional[pulumi.Input[int]] = None, public_network_access_enabled: Optional[pulumi.Input[bool]] = None, replica_count: Optional[pulumi.Input[int]] = None, @@ -58,6 +59,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`. :param pulumi.Input[str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. :param pulumi.Input[str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. + :param pulumi.Input[str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. :param pulumi.Input[int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. > **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -86,6 +88,8 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if name is not None: pulumi.set(__self__, "name", name) + if network_rule_bypass_option is not None: + pulumi.set(__self__, "network_rule_bypass_option", network_rule_bypass_option) if partition_count is not None: pulumi.set(__self__, "partition_count", partition_count) if public_network_access_enabled is not None: @@ -227,6 +231,18 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter(name="networkRuleBypassOption") + def network_rule_bypass_option(self) -> Optional[pulumi.Input[str]]: + """ + Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + """ + return pulumi.get(self, "network_rule_bypass_option") + + @network_rule_bypass_option.setter + def network_rule_bypass_option(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_rule_bypass_option", value) + @property @pulumi.getter(name="partitionCount") def partition_count(self) -> Optional[pulumi.Input[int]]: @@ -304,6 +320,7 @@ def __init__(__self__, *, local_authentication_enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_rule_bypass_option: Optional[pulumi.Input[str]] = None, partition_count: Optional[pulumi.Input[int]] = None, primary_key: Optional[pulumi.Input[str]] = None, public_network_access_enabled: Optional[pulumi.Input[bool]] = None, @@ -331,6 +348,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`. :param pulumi.Input[str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. :param pulumi.Input[str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. + :param pulumi.Input[str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. :param pulumi.Input[int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. > **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -368,6 +386,8 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if name is not None: pulumi.set(__self__, "name", name) + if network_rule_bypass_option is not None: + pulumi.set(__self__, "network_rule_bypass_option", network_rule_bypass_option) if partition_count is not None: pulumi.set(__self__, "partition_count", partition_count) if primary_key is not None: @@ -503,6 +523,18 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter(name="networkRuleBypassOption") + def network_rule_bypass_option(self) -> Optional[pulumi.Input[str]]: + """ + Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + """ + return pulumi.get(self, "network_rule_bypass_option") + + @network_rule_bypass_option.setter + def network_rule_bypass_option(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_rule_bypass_option", value) + @property @pulumi.getter(name="partitionCount") def partition_count(self) -> Optional[pulumi.Input[int]]: @@ -645,6 +677,7 @@ def __init__(__self__, local_authentication_enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_rule_bypass_option: Optional[pulumi.Input[str]] = None, partition_count: Optional[pulumi.Input[int]] = None, public_network_access_enabled: Optional[pulumi.Input[bool]] = None, replica_count: Optional[pulumi.Input[int]] = None, @@ -733,6 +766,7 @@ def __init__(__self__, :param pulumi.Input[bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`. :param pulumi.Input[str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. :param pulumi.Input[str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. + :param pulumi.Input[str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. :param pulumi.Input[int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. > **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -842,6 +876,7 @@ def _internal_init(__self__, local_authentication_enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_rule_bypass_option: Optional[pulumi.Input[str]] = None, partition_count: Optional[pulumi.Input[int]] = None, public_network_access_enabled: Optional[pulumi.Input[bool]] = None, replica_count: Optional[pulumi.Input[int]] = None, @@ -866,6 +901,7 @@ def _internal_init(__self__, __props__.__dict__["local_authentication_enabled"] = local_authentication_enabled __props__.__dict__["location"] = location __props__.__dict__["name"] = name + __props__.__dict__["network_rule_bypass_option"] = network_rule_bypass_option __props__.__dict__["partition_count"] = partition_count __props__.__dict__["public_network_access_enabled"] = public_network_access_enabled __props__.__dict__["replica_count"] = replica_count @@ -902,6 +938,7 @@ def get(resource_name: str, local_authentication_enabled: Optional[pulumi.Input[bool]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_rule_bypass_option: Optional[pulumi.Input[str]] = None, partition_count: Optional[pulumi.Input[int]] = None, primary_key: Optional[pulumi.Input[str]] = None, public_network_access_enabled: Optional[pulumi.Input[bool]] = None, @@ -934,6 +971,7 @@ def get(resource_name: str, :param pulumi.Input[bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`. :param pulumi.Input[str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. :param pulumi.Input[str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. + :param pulumi.Input[str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. :param pulumi.Input[int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`. > **NOTE:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`. @@ -966,6 +1004,7 @@ def get(resource_name: str, __props__.__dict__["local_authentication_enabled"] = local_authentication_enabled __props__.__dict__["location"] = location __props__.__dict__["name"] = name + __props__.__dict__["network_rule_bypass_option"] = network_rule_bypass_option __props__.__dict__["partition_count"] = partition_count __props__.__dict__["primary_key"] = primary_key __props__.__dict__["public_network_access_enabled"] = public_network_access_enabled @@ -1056,6 +1095,14 @@ def name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "name") + @property + @pulumi.getter(name="networkRuleBypassOption") + def network_rule_bypass_option(self) -> pulumi.Output[Optional[str]]: + """ + Whether to allow trusted Azure services to access a network restricted Container Registry? Possible values are `None` and `AzureServices`. Defaults to `None`. + """ + return pulumi.get(self, "network_rule_bypass_option") + @property @pulumi.getter(name="partitionCount") def partition_count(self) -> pulumi.Output[Optional[int]]: diff --git a/sdk/python/pulumi_azure/storage/get_storage_container.py b/sdk/python/pulumi_azure/storage/get_storage_container.py index 768bb5d3c3..a43782885d 100644 --- a/sdk/python/pulumi_azure/storage/get_storage_container.py +++ b/sdk/python/pulumi_azure/storage/get_storage_container.py @@ -181,7 +181,7 @@ def get_storage_container(metadata: Optional[Mapping[str, str]] = None, :param Mapping[str, str] metadata: A mapping of MetaData for this Container. :param str name: The name of the Container. - :param str storage_account_id: The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + :param str storage_account_id: The id 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. :param str storage_account_name: The name of the Storage Account where the Container exists. This property is deprecated in favour of `storage_account_id`. @@ -229,7 +229,7 @@ def get_storage_container_output(metadata: Optional[pulumi.Input[Optional[Mappin :param Mapping[str, str] metadata: A mapping of MetaData for this Container. :param str name: The name of the Container. - :param str storage_account_id: The name of the Storage Account where the Container exists. This property will become Required in version 5.0 of the Provider. + :param str storage_account_id: The id 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. :param str storage_account_name: The name of the Storage Account where the Container exists. This property is deprecated in favour of `storage_account_id`. diff --git a/upstream b/upstream index f80cef4605..36996bc68a 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit f80cef460500b7c344bcb180112840fc373e295c +Subproject commit 36996bc68a4a4b80f65338f2066070426abf8551