diff --git a/patches/0001-Set-user-agent-in-client-options.patch b/patches/0001-Set-user-agent-in-client-options.patch index 44e1017a11..ef5f39326f 100644 --- a/patches/0001-Set-user-agent-in-client-options.patch +++ b/patches/0001-Set-user-agent-in-client-options.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Set user agent in client options Use Pulumi-specific user agent which includes the current provider version number. diff --git a/internal/common/client_options.go b/internal/common/client_options.go -index 4e13bed1d8..bb2705e3e0 100644 +index 99352e4d62..5006e975b0 100644 --- a/internal/common/client_options.go +++ b/internal/common/client_options.go -@@ -104,6 +104,8 @@ func userAgent(userAgent, tfVersion, partnerID string, disableTerraformPartnerID +@@ -101,6 +101,8 @@ func userAgent(userAgent, tfVersion, partnerID string, disableTerraformPartnerID if features.FivePointOhBeta() { providerUserAgent = fmt.Sprintf("%s terraform-provider-azurerm/%s+5.0-beta", tfUserAgent, version.ProviderVersion) } @@ -18,7 +18,7 @@ index 4e13bed1d8..bb2705e3e0 100644 userAgent = strings.TrimSpace(fmt.Sprintf("%s %s", userAgent, providerUserAgent)) // append the CloudShell version to the user agent if it exists -@@ -112,11 +114,11 @@ func userAgent(userAgent, tfVersion, partnerID string, disableTerraformPartnerID +@@ -109,11 +111,11 @@ func userAgent(userAgent, tfVersion, partnerID string, disableTerraformPartnerID } // only one pid can be interpreted currently diff --git a/patches/0007-Make-storage-account-resource_group_name-optional-in.patch b/patches/0007-Make-storage-account-resource_group_name-optional-in.patch index 6cafbc3220..7d4bf8d8a5 100644 --- a/patches/0007-Make-storage-account-resource_group_name-optional-in.patch +++ b/patches/0007-Make-storage-account-resource_group_name-optional-in.patch @@ -7,10 +7,10 @@ Subject: [PATCH] Make storage account resource_group_name optional in data Look up resource_group_name by using `storageClient.FindAccount` as storage account names should be unique, and resolve back to the resource group it belongs to. diff --git a/internal/services/storage/storage_account_data_source.go b/internal/services/storage/storage_account_data_source.go -index efac78a79d..4eec1fae57 100644 +index 0267fa95bd..cb80352076 100644 --- a/internal/services/storage/storage_account_data_source.go +++ b/internal/services/storage/storage_account_data_source.go -@@ -39,7 +39,8 @@ func dataSourceStorageAccount() *pluginsdk.Resource { +@@ -38,7 +38,8 @@ func dataSourceStorageAccount() *pluginsdk.Resource { ValidateFunc: validate.StorageAccountName, }, @@ -20,7 +20,7 @@ index efac78a79d..4eec1fae57 100644 "location": commonschema.LocationComputed(), -@@ -554,10 +555,27 @@ func dataSourceStorageAccount() *pluginsdk.Resource { +@@ -546,10 +547,27 @@ func dataSourceStorageAccount() *pluginsdk.Resource { func dataSourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) error { client := meta.(*clients.Client).Storage.ResourceManager.StorageAccounts diff --git a/patches/0011-Avoid-ordering-container-registry-georeplications.patch b/patches/0011-Avoid-ordering-container-registry-georeplications.patch index d4dcbd863e..3f02360579 100644 --- a/patches/0011-Avoid-ordering-container-registry-georeplications.patch +++ b/patches/0011-Avoid-ordering-container-registry-georeplications.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Avoid ordering container registry georeplications This looks like it might have been removed in error due to a bad merge at some point. diff --git a/internal/services/containers/container_registry_resource.go b/internal/services/containers/container_registry_resource.go -index 6e83d72960..aa6c65567e 100644 +index 59aa921dbd..5630a6f69c 100644 --- a/internal/services/containers/container_registry_resource.go +++ b/internal/services/containers/container_registry_resource.go @@ -7,7 +7,6 @@ import ( diff --git a/patches/0013-Update-documentation.patch b/patches/0013-Update-documentation.patch index 4820f241a2..0e96c79b0f 100644 --- a/patches/0013-Update-documentation.patch +++ b/patches/0013-Update-documentation.patch @@ -262,7 +262,7 @@ index a2e59b2cc0..d9dc21a792 100644 sku_name = "Developer_1" } diff --git a/website/docs/r/api_management_api.html.markdown b/website/docs/r/api_management_api.html.markdown -index 57d9ed9a2d..5c797d632f 100644 +index f997403600..b10ea52bc4 100644 --- a/website/docs/r/api_management_api.html.markdown +++ b/website/docs/r/api_management_api.html.markdown @@ -23,7 +23,7 @@ resource "azurerm_api_management" "example" { @@ -274,7 +274,7 @@ index 57d9ed9a2d..5c797d632f 100644 sku_name = "Developer_1" } -@@ -132,7 +132,7 @@ A `license` block supports the following: +@@ -131,7 +131,7 @@ A `license` block supports the following: A `oauth2_authorization` block supports the following: @@ -283,7 +283,7 @@ index 57d9ed9a2d..5c797d632f 100644 * `scope` - (Optional) Operations scope. -@@ -140,7 +140,7 @@ A `oauth2_authorization` block supports the following: +@@ -139,7 +139,7 @@ A `oauth2_authorization` block supports the following: A `openid_authentication` block supports the following: @@ -1011,7 +1011,7 @@ index d847c69797..dc19703131 100644 ```hcl diff --git a/website/docs/r/cosmosdb_account.html.markdown b/website/docs/r/cosmosdb_account.html.markdown -index a2caed28ba..247137f83a 100644 +index 382f2a8765..afc7d9c295 100644 --- a/website/docs/r/cosmosdb_account.html.markdown +++ b/website/docs/r/cosmosdb_account.html.markdown @@ -13,9 +13,9 @@ Manages a CosmosDB (formally DocumentDB) Account. @@ -2645,7 +2645,7 @@ index 6786f8eb01..38823a0fd4 100644 name = "example-resources" location = "West Europe" diff --git a/website/docs/r/subnet.html.markdown b/website/docs/r/subnet.html.markdown -index 71f4ee3d87..50ca25b9d1 100644 +index 5c1e613741..4f923d2e6f 100644 --- a/website/docs/r/subnet.html.markdown +++ b/website/docs/r/subnet.html.markdown @@ -11,7 +11,7 @@ description: |- @@ -2827,7 +2827,7 @@ index f96d4cc7bd..416bf679b8 100644 --- diff --git a/website/docs/r/virtual_network.html.markdown b/website/docs/r/virtual_network.html.markdown -index 0f81276d3a..4e07fa2450 100644 +index e21ea3967f..31c126c3e9 100644 --- a/website/docs/r/virtual_network.html.markdown +++ b/website/docs/r/virtual_network.html.markdown @@ -11,10 +11,10 @@ description: |- diff --git a/patches/0014-Fix-4.0-removed-resources.patch b/patches/0014-Fix-4.0-removed-resources.patch index dad0383205..83f492aa42 100644 --- a/patches/0014-Fix-4.0-removed-resources.patch +++ b/patches/0014-Fix-4.0-removed-resources.patch @@ -4,18 +4,6 @@ Date: Wed, 28 Aug 2024 16:43:20 +0100 Subject: [PATCH] Fix 4.0 removed resources -diff --git a/internal/services/databricks/registration.go b/internal/services/databricks/registration.go -index c1bf344a2b..dee7927610 100644 ---- a/internal/services/databricks/registration.go -+++ b/internal/services/databricks/registration.go -@@ -44,7 +44,6 @@ func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource { - func (r Registration) SupportedResources() map[string]*pluginsdk.Resource { - resources := map[string]*pluginsdk.Resource{ - "azurerm_databricks_workspace": resourceDatabricksWorkspace(), -- "azurerm_databricks_workspace_customer_managed_key": resourceDatabricksWorkspaceCustomerManagedKey(), // TODO: Remove in 4.0 - "azurerm_databricks_workspace_root_dbfs_customer_managed_key": resourceDatabricksWorkspaceRootDbfsCustomerManagedKey(), - "azurerm_databricks_virtual_network_peering": resourceDatabricksVirtualNetworkPeering(), - } diff --git a/internal/services/network/registration.go b/internal/services/network/registration.go index 400e039770..d2ee01b9e4 100644 --- a/internal/services/network/registration.go diff --git a/provider/cmd/pulumi-resource-azure/bridge-metadata.json b/provider/cmd/pulumi-resource-azure/bridge-metadata.json index 4fe0d3f0d3..c496987df4 100644 --- a/provider/cmd/pulumi-resource-azure/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-azure/bridge-metadata.json @@ -1821,7 +1821,12 @@ }, "azurerm_arc_machine": { "current": "azure:arcmachine/arcMachine:ArcMachine", - "majorVersion": 6 + "majorVersion": 6, + "fields": { + "identity": { + "maxItemsOne": true + } + } }, "azurerm_arc_machine_automanage_configuration_assignment": { "current": "azure:arcmachine/automanageConfigurationAssignment:AutomanageConfigurationAssignment", @@ -6216,6 +6221,10 @@ } } }, + "azurerm_databricks_workspace_customer_managed_key": { + "current": "azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", + "majorVersion": 6 + }, "azurerm_databricks_workspace_root_dbfs_customer_managed_key": { "current": "azure:databricks/workspaceRootDbfsCustomerManagedKey:WorkspaceRootDbfsCustomerManagedKey", "majorVersion": 6 @@ -7162,6 +7171,41 @@ } } }, + "azurerm_eventgrid_namespace": { + "current": "azure:eventgrid/namespace:Namespace", + "majorVersion": 6, + "fields": { + "identity": { + "maxItemsOne": true, + "elem": { + "fields": { + "identity_ids": { + "maxItemsOne": false + } + } + } + }, + "inbound_ip_rule": { + "maxItemsOne": false + }, + "topic_spaces_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "alternative_authentication_name_source": { + "maxItemsOne": false + }, + "dynamic_routing_enrichment": { + "maxItemsOne": false + }, + "static_routing_enrichment": { + "maxItemsOne": false + } + } + } + } + } + }, "azurerm_eventgrid_system_topic": { "current": "azure:eventgrid/systemTopic:SystemTopic", "majorVersion": 6, diff --git a/provider/cmd/pulumi-resource-azure/schema.json b/provider/cmd/pulumi-resource-azure/schema.json index 3c60d2f3af..1b398b21fb 100644 --- a/provider/cmd/pulumi-resource-azure/schema.json +++ b/provider/cmd/pulumi-resource-azure/schema.json @@ -767,7 +767,7 @@ }, "contentValue": { "type": "string", - "description": "The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline.\n" + "description": "The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail.\n" }, "wsdlSelector": { "$ref": "#/types/azure:apimanagement/ApiImportWsdlSelector:ApiImportWsdlSelector", @@ -29498,6 +29498,35 @@ "name" ] }, + "azure:arcmachine/ArcMachineIdentity:ArcMachineIdentity": { + "properties": { + "principalId": { + "type": "string", + "description": "The Principal ID associated with this Managed Service Identity.\n" + }, + "tenantId": { + "type": "string", + "description": "The Tenant ID associated with this Managed Service Identity.\n" + }, + "type": { + "type": "string", + "description": "Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created.\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "principalId", + "tenantId", + "type" + ] + } + } + }, "azure:arcmachine/getAgent:getAgent": { "properties": { "extensionsAllowLists": { @@ -60307,6 +60336,128 @@ } } }, + "azure:eventgrid/NamespaceIdentity:NamespaceIdentity": { + "properties": { + "identityIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace.\n\n\u003e **NOTE:** This is required when `type` is set to `UserAssigned`\n" + }, + "principalId": { + "type": "string" + }, + "tenantId": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`.\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "principalId", + "tenantId", + "type" + ] + } + } + }, + "azure:eventgrid/NamespaceInboundIpRule:NamespaceInboundIpRule": { + "properties": { + "action": { + "type": "string", + "description": "The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`.\n" + }, + "ipMask": { + "type": "string", + "description": "The IP mask (CIDR) to match on.\n" + } + }, + "type": "object", + "required": [ + "ipMask" + ] + }, + "azure:eventgrid/NamespaceTopicSpacesConfiguration:NamespaceTopicSpacesConfiguration": { + "properties": { + "alternativeAuthenticationNameSources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`.\n" + }, + "dynamicRoutingEnrichments": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment:NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment" + }, + "description": "One or more `dynamic_routing_enrichment` blocks as defined below.\n" + }, + "maximumClientSessionsPerAuthenticationName": { + "type": "integer", + "description": "Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`.\n" + }, + "maximumSessionExpiryInHours": { + "type": "integer", + "description": "Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`.\n" + }, + "routeTopicId": { + "type": "string", + "description": "Specifies the Event Grid topic resource ID to route messages to.\n" + }, + "staticRoutingEnrichments": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment:NamespaceTopicSpacesConfigurationStaticRoutingEnrichment" + }, + "description": "One or more `static_routing_enrichment` blocks as defined below.\n" + } + }, + "type": "object" + }, + "azure:eventgrid/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment:NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment": { + "properties": { + "key": { + "type": "string", + "description": "The enrichment key.\n" + }, + "value": { + "type": "string", + "description": "The enrichment value.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, + "azure:eventgrid/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment:NamespaceTopicSpacesConfigurationStaticRoutingEnrichment": { + "properties": { + "key": { + "type": "string", + "description": "The enrichment key.\n" + }, + "value": { + "type": "string", + "description": "The enrichment value.\n" + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, "azure:eventgrid/SystemTopicEventSubscriptionAdvancedFilter:SystemTopicEventSubscriptionAdvancedFilter": { "properties": { "boolEquals": { @@ -74493,24 +74644,21 @@ }, "retentionPolicy": { "$ref": "#/types/azure:monitoring/AadDiagnosticSettingEnabledLogRetentionPolicy:AadDiagnosticSettingEnabledLogRetentionPolicy", - "description": "A `retention_policy` block as defined below.\n" + "deprecationMessage": "Azure does not support retention for new Azure Active Directory Diagnostic Settings" } }, "type": "object", "required": [ - "category", - "retentionPolicy" + "category" ] }, "azure:monitoring/AadDiagnosticSettingEnabledLogRetentionPolicy:AadDiagnosticSettingEnabledLogRetentionPolicy": { "properties": { "days": { - "type": "integer", - "description": "The number of days for which this Retention Policy should apply. Defaults to `0`.\n" + "type": "integer" }, "enabled": { - "type": "boolean", - "description": "Is this Retention Policy enabled? Defaults to `false`.\n" + "type": "boolean" } }, "type": "object" @@ -82555,7 +82703,7 @@ }, "ruleSetVersion": { "type": "string", - "description": "The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`.\n" + "description": "The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`.\n" } }, "type": "object", @@ -84740,7 +84888,7 @@ }, "name": { "type": "string", - "description": "The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`.\n" + "description": "The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`.\n" } }, "type": "object", @@ -85744,7 +85892,7 @@ }, "name": { "type": "string", - "description": "The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`.\n" + "description": "The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`.\n" } }, "type": "object", @@ -102054,7 +102202,7 @@ }, "version": { "type": "string", - "description": "The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.\n" + "description": "The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.\n" } }, "type": "object" @@ -102093,7 +102241,7 @@ }, "version": { "type": "string", - "description": "The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`.\n" + "description": "The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`.\n" } }, "type": "object", @@ -104216,7 +104364,7 @@ } }, "azure:apimanagement/api:Api": { - "description": "Manages an API within an API Management Service.\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@exmaple.com\",\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});\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@exmaple.com\",\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 })\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@exmaple.com\",\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});\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@exmaple.com\"),\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\t_, 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\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 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@exmaple.com\")\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 }\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@exmaple.com\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```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API's can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/api:Api example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1;rev=1\n```\n\n", + "description": "Manages an API within an API Management Service.\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@exmaple.com\",\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_schema_swagger.json\",\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_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@exmaple.com\",\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_schema_swagger.json\",\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 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@exmaple.com\",\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_schema_swagger.json\",\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/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@exmaple.com\"),\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\t_, 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_schema_swagger.json\"),\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.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 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@exmaple.com\")\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_schema_swagger.json\")\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 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@exmaple.com\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_schema_swagger.json\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAPI Management API's can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:apimanagement/api:Api example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1;rev=1\n```\n\n", "properties": { "apiManagementName": { "type": "string", @@ -126301,8 +126449,12 @@ } }, "azure:arcmachine/arcMachine:ArcMachine": { - "description": "Manages a Hybrid Compute Machine.\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 exampleArcMachine = new azure.arcmachine.ArcMachine(\"example\", {\n name: \"example-arcmachine\",\n resourceGroupName: example.name,\n location: example.location,\n kind: \"SCVMM\",\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_arc_machine = azure.arcmachine.ArcMachine(\"example\",\n name=\"example-arcmachine\",\n resource_group_name=example.name,\n location=example.location,\n kind=\"SCVMM\")\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 exampleArcMachine = new Azure.ArcMachine.ArcMachine(\"example\", new()\n {\n Name = \"example-arcmachine\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n Kind = \"SCVMM\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/arcmachine\"\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\t_, err = arcmachine.NewArcMachine(ctx, \"example\", \u0026arcmachine.ArcMachineArgs{\n\t\t\tName: pulumi.String(\"example-arcmachine\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tKind: pulumi.String(\"SCVMM\"),\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.arcmachine.ArcMachine;\nimport com.pulumi.azure.arcmachine.ArcMachineArgs;\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 exampleArcMachine = new ArcMachine(\"exampleArcMachine\", ArcMachineArgs.builder()\n .name(\"example-arcmachine\")\n .resourceGroupName(example.name())\n .location(example.location())\n .kind(\"SCVMM\")\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 exampleArcMachine:\n type: azure:arcmachine:ArcMachine\n name: example\n properties:\n name: example-arcmachine\n resourceGroupName: ${example.name}\n location: ${example.location}\n kind: SCVMM\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nArc Machines can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:arcmachine/arcMachine:ArcMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.HybridCompute/machines/machine1\n```\n\n", + "description": "Manages a Hybrid Compute Machine.\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 exampleArcMachine = new azure.arcmachine.ArcMachine(\"example\", {\n name: \"example-arcmachine\",\n resourceGroupName: example.name,\n location: example.location,\n kind: \"SCVMM\",\n identity: {\n type: \"SystemAssigned\",\n },\n tags: {\n environment: \"example\",\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_arc_machine = azure.arcmachine.ArcMachine(\"example\",\n name=\"example-arcmachine\",\n resource_group_name=example.name,\n location=example.location,\n kind=\"SCVMM\",\n identity={\n \"type\": \"SystemAssigned\",\n },\n tags={\n \"environment\": \"example\",\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 exampleArcMachine = new Azure.ArcMachine.ArcMachine(\"example\", new()\n {\n Name = \"example-arcmachine\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n Kind = \"SCVMM\",\n Identity = new Azure.ArcMachine.Inputs.ArcMachineIdentityArgs\n {\n Type = \"SystemAssigned\",\n },\n Tags = \n {\n { \"environment\", \"example\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/arcmachine\"\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\t_, err = arcmachine.NewArcMachine(ctx, \"example\", \u0026arcmachine.ArcMachineArgs{\n\t\t\tName: pulumi.String(\"example-arcmachine\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tKind: pulumi.String(\"SCVMM\"),\n\t\t\tIdentity: \u0026arcmachine.ArcMachineIdentityArgs{\n\t\t\t\tType: pulumi.String(\"SystemAssigned\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"example\"),\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.arcmachine.ArcMachine;\nimport com.pulumi.azure.arcmachine.ArcMachineArgs;\nimport com.pulumi.azure.arcmachine.inputs.ArcMachineIdentityArgs;\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 exampleArcMachine = new ArcMachine(\"exampleArcMachine\", ArcMachineArgs.builder()\n .name(\"example-arcmachine\")\n .resourceGroupName(example.name())\n .location(example.location())\n .kind(\"SCVMM\")\n .identity(ArcMachineIdentityArgs.builder()\n .type(\"SystemAssigned\")\n .build())\n .tags(Map.of(\"environment\", \"example\"))\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 exampleArcMachine:\n type: azure:arcmachine:ArcMachine\n name: example\n properties:\n name: example-arcmachine\n resourceGroupName: ${example.name}\n location: ${example.location}\n kind: SCVMM\n identity:\n type: SystemAssigned\n tags:\n environment: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nArc Machines can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:arcmachine/arcMachine:ArcMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.HybridCompute/machines/machine1\n```\n\n", "properties": { + "identity": { + "$ref": "#/types/azure:arcmachine/ArcMachineIdentity:ArcMachineIdentity", + "description": "An `identity` block as defined below.\n" + }, "kind": { "type": "string", "description": "The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.\n" @@ -126318,6 +126470,13 @@ "resourceGroupName": { "type": "string", "description": "The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Arc Machine.\n" } }, "required": [ @@ -126327,6 +126486,10 @@ "resourceGroupName" ], "inputProperties": { + "identity": { + "$ref": "#/types/azure:arcmachine/ArcMachineIdentity:ArcMachineIdentity", + "description": "An `identity` block as defined below.\n" + }, "kind": { "type": "string", "description": "The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.\n", @@ -126346,6 +126509,13 @@ "type": "string", "description": "The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.\n", "willReplaceOnChanges": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Arc Machine.\n" } }, "requiredInputs": [ @@ -126355,6 +126525,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering ArcMachine resources.\n", "properties": { + "identity": { + "$ref": "#/types/azure:arcmachine/ArcMachineIdentity:ArcMachineIdentity", + "description": "An `identity` block as defined below.\n" + }, "kind": { "type": "string", "description": "The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.\n", @@ -126374,6 +126548,13 @@ "type": "string", "description": "The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.\n", "willReplaceOnChanges": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the Arc Machine.\n" } }, "type": "object" @@ -126926,6 +127107,7 @@ } }, "required": [ + "conditionVersion", "name", "principalId", "principalType", @@ -158469,7 +158651,7 @@ }, "minimalTlsVersion": { "type": "string", - "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\n" + "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\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 details.\n" }, "mongoServerVersion": { "type": "string" @@ -158713,7 +158895,7 @@ }, "minimalTlsVersion": { "type": "string", - "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\n" + "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\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 details.\n" }, "mongoServerVersion": { "type": "string" @@ -158868,7 +159050,7 @@ }, "minimalTlsVersion": { "type": "string", - "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\n" + "description": "Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.\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 details.\n" }, "mongoServerVersion": { "type": "string" @@ -164121,6 +164303,48 @@ "type": "object" } }, + "azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey": { + "description": "\n\n## Import\n\nDatabrick Workspaces can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1\n```\n\n", + "properties": { + "keyVaultKeyId": { + "type": "string" + }, + "workspaceId": { + "type": "string", + "description": "The unique identifier of the databricks workspace in Databricks control plane.\n" + } + }, + "required": [ + "keyVaultKeyId", + "workspaceId" + ], + "inputProperties": { + "keyVaultKeyId": { + "type": "string" + }, + "workspaceId": { + "type": "string", + "description": "The unique identifier of the databricks workspace in Databricks control plane.\n" + } + }, + "requiredInputs": [ + "keyVaultKeyId", + "workspaceId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering WorkspaceCustomerManagedKey resources.\n", + "properties": { + "keyVaultKeyId": { + "type": "string" + }, + "workspaceId": { + "type": "string", + "description": "The unique identifier of the databricks workspace in Databricks control plane.\n" + } + }, + "type": "object" + } + }, "azure:databricks/workspaceRootDbfsCustomerManagedKey:WorkspaceRootDbfsCustomerManagedKey": { "description": "Manages a Customer Managed Key for the Databricks Workspaces Root Databricks File System(DBFS)\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 exampleWorkspace = new azure.databricks.Workspace(\"example\", {\n name: \"databricks-test\",\n resourceGroupName: example.name,\n location: example.location,\n sku: \"premium\",\n customerManagedKeyEnabled: true,\n tags: {\n Environment: \"Production\",\n },\n});\nconst exampleKeyVault = new azure.keyvault.KeyVault(\"example\", {\n name: \"examplekeyvault\",\n location: example.location,\n resourceGroupName: example.name,\n tenantId: current.then(current =\u003e current.tenantId),\n skuName: \"premium\",\n purgeProtectionEnabled: true,\n softDeleteRetentionDays: 7,\n});\nconst terraform = new azure.keyvault.AccessPolicy(\"terraform\", {\n keyVaultId: exampleKeyVault.id,\n tenantId: exampleKeyVault.tenantId,\n objectId: current.then(current =\u003e current.objectId),\n keyPermissions: [\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n \"GetRotationPolicy\",\n ],\n});\nconst exampleKey = new azure.keyvault.Key(\"example\", {\n name: \"example-certificate\",\n keyVaultId: exampleKeyVault.id,\n keyType: \"RSA\",\n keySize: 2048,\n keyOpts: [\n \"decrypt\",\n \"encrypt\",\n \"sign\",\n \"unwrapKey\",\n \"verify\",\n \"wrapKey\",\n ],\n}, {\n dependsOn: [terraform],\n});\nconst databricks = new azure.keyvault.AccessPolicy(\"databricks\", {\n keyVaultId: exampleKeyVault.id,\n tenantId: exampleWorkspace.storageAccountIdentities.apply(storageAccountIdentities =\u003e storageAccountIdentities[0].tenantId),\n objectId: exampleWorkspace.storageAccountIdentities.apply(storageAccountIdentities =\u003e storageAccountIdentities[0].principalId),\n keyPermissions: [\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n ],\n}, {\n dependsOn: [exampleWorkspace],\n});\nconst exampleWorkspaceRootDbfsCustomerManagedKey = new azure.databricks.WorkspaceRootDbfsCustomerManagedKey(\"example\", {\n workspaceId: exampleWorkspace.id,\n keyVaultKeyId: exampleKey.id,\n}, {\n dependsOn: [databricks],\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_workspace = azure.databricks.Workspace(\"example\",\n name=\"databricks-test\",\n resource_group_name=example.name,\n location=example.location,\n sku=\"premium\",\n customer_managed_key_enabled=True,\n tags={\n \"Environment\": \"Production\",\n })\nexample_key_vault = azure.keyvault.KeyVault(\"example\",\n name=\"examplekeyvault\",\n location=example.location,\n resource_group_name=example.name,\n tenant_id=current.tenant_id,\n sku_name=\"premium\",\n purge_protection_enabled=True,\n soft_delete_retention_days=7)\nterraform = azure.keyvault.AccessPolicy(\"terraform\",\n key_vault_id=example_key_vault.id,\n tenant_id=example_key_vault.tenant_id,\n object_id=current.object_id,\n key_permissions=[\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n \"GetRotationPolicy\",\n ])\nexample_key = azure.keyvault.Key(\"example\",\n name=\"example-certificate\",\n key_vault_id=example_key_vault.id,\n key_type=\"RSA\",\n key_size=2048,\n key_opts=[\n \"decrypt\",\n \"encrypt\",\n \"sign\",\n \"unwrapKey\",\n \"verify\",\n \"wrapKey\",\n ],\n opts = pulumi.ResourceOptions(depends_on=[terraform]))\ndatabricks = azure.keyvault.AccessPolicy(\"databricks\",\n key_vault_id=example_key_vault.id,\n tenant_id=example_workspace.storage_account_identities[0].tenant_id,\n object_id=example_workspace.storage_account_identities[0].principal_id,\n key_permissions=[\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n ],\n opts = pulumi.ResourceOptions(depends_on=[example_workspace]))\nexample_workspace_root_dbfs_customer_managed_key = azure.databricks.WorkspaceRootDbfsCustomerManagedKey(\"example\",\n workspace_id=example_workspace.id,\n key_vault_key_id=example_key.id,\n opts = pulumi.ResourceOptions(depends_on=[databricks]))\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 exampleWorkspace = new Azure.DataBricks.Workspace(\"example\", new()\n {\n Name = \"databricks-test\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n Sku = \"premium\",\n CustomerManagedKeyEnabled = true,\n Tags = \n {\n { \"Environment\", \"Production\" },\n },\n });\n\n var exampleKeyVault = new Azure.KeyVault.KeyVault(\"example\", new()\n {\n Name = \"examplekeyvault\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n TenantId = current.Apply(getClientConfigResult =\u003e getClientConfigResult.TenantId),\n SkuName = \"premium\",\n PurgeProtectionEnabled = true,\n SoftDeleteRetentionDays = 7,\n });\n\n var terraform = new Azure.KeyVault.AccessPolicy(\"terraform\", new()\n {\n KeyVaultId = exampleKeyVault.Id,\n TenantId = exampleKeyVault.TenantId,\n ObjectId = current.Apply(getClientConfigResult =\u003e getClientConfigResult.ObjectId),\n KeyPermissions = new[]\n {\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n \"GetRotationPolicy\",\n },\n });\n\n var exampleKey = new Azure.KeyVault.Key(\"example\", new()\n {\n Name = \"example-certificate\",\n KeyVaultId = exampleKeyVault.Id,\n KeyType = \"RSA\",\n KeySize = 2048,\n KeyOpts = new[]\n {\n \"decrypt\",\n \"encrypt\",\n \"sign\",\n \"unwrapKey\",\n \"verify\",\n \"wrapKey\",\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n terraform,\n },\n });\n\n var databricks = new Azure.KeyVault.AccessPolicy(\"databricks\", new()\n {\n KeyVaultId = exampleKeyVault.Id,\n TenantId = exampleWorkspace.StorageAccountIdentities.Apply(storageAccountIdentities =\u003e storageAccountIdentities[0].TenantId),\n ObjectId = exampleWorkspace.StorageAccountIdentities.Apply(storageAccountIdentities =\u003e storageAccountIdentities[0].PrincipalId),\n KeyPermissions = new[]\n {\n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n exampleWorkspace,\n },\n });\n\n var exampleWorkspaceRootDbfsCustomerManagedKey = new Azure.DataBricks.WorkspaceRootDbfsCustomerManagedKey(\"example\", new()\n {\n WorkspaceId = exampleWorkspace.Id,\n KeyVaultKeyId = exampleKey.Id,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n databricks,\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/databricks\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/keyvault\"\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\texampleWorkspace, err := databricks.NewWorkspace(ctx, \"example\", \u0026databricks.WorkspaceArgs{\n\t\t\tName: pulumi.String(\"databricks-test\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tSku: pulumi.String(\"premium\"),\n\t\t\tCustomerManagedKeyEnabled: pulumi.Bool(true),\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\texampleKeyVault, err := keyvault.NewKeyVault(ctx, \"example\", \u0026keyvault.KeyVaultArgs{\n\t\t\tName: pulumi.String(\"examplekeyvault\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tTenantId: pulumi.String(current.TenantId),\n\t\t\tSkuName: pulumi.String(\"premium\"),\n\t\t\tPurgeProtectionEnabled: pulumi.Bool(true),\n\t\t\tSoftDeleteRetentionDays: pulumi.Int(7),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tterraform, err := keyvault.NewAccessPolicy(ctx, \"terraform\", \u0026keyvault.AccessPolicyArgs{\n\t\t\tKeyVaultId: exampleKeyVault.ID(),\n\t\t\tTenantId: exampleKeyVault.TenantId,\n\t\t\tObjectId: pulumi.String(current.ObjectId),\n\t\t\tKeyPermissions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Create\"),\n\t\t\t\tpulumi.String(\"Delete\"),\n\t\t\t\tpulumi.String(\"Get\"),\n\t\t\t\tpulumi.String(\"Purge\"),\n\t\t\t\tpulumi.String(\"Recover\"),\n\t\t\t\tpulumi.String(\"Update\"),\n\t\t\t\tpulumi.String(\"List\"),\n\t\t\t\tpulumi.String(\"Decrypt\"),\n\t\t\t\tpulumi.String(\"Sign\"),\n\t\t\t\tpulumi.String(\"GetRotationPolicy\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleKey, err := keyvault.NewKey(ctx, \"example\", \u0026keyvault.KeyArgs{\n\t\t\tName: pulumi.String(\"example-certificate\"),\n\t\t\tKeyVaultId: exampleKeyVault.ID(),\n\t\t\tKeyType: pulumi.String(\"RSA\"),\n\t\t\tKeySize: pulumi.Int(2048),\n\t\t\tKeyOpts: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"decrypt\"),\n\t\t\t\tpulumi.String(\"encrypt\"),\n\t\t\t\tpulumi.String(\"sign\"),\n\t\t\t\tpulumi.String(\"unwrapKey\"),\n\t\t\t\tpulumi.String(\"verify\"),\n\t\t\t\tpulumi.String(\"wrapKey\"),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tterraform,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdatabricks, err := keyvault.NewAccessPolicy(ctx, \"databricks\", \u0026keyvault.AccessPolicyArgs{\n\t\t\tKeyVaultId: exampleKeyVault.ID(),\n\t\t\tTenantId: pulumi.String(exampleWorkspace.StorageAccountIdentities.ApplyT(func(storageAccountIdentities []databricks.WorkspaceStorageAccountIdentity) (*string, error) {\n\t\t\t\treturn \u0026storageAccountIdentities[0].TenantId, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tObjectId: pulumi.String(exampleWorkspace.StorageAccountIdentities.ApplyT(func(storageAccountIdentities []databricks.WorkspaceStorageAccountIdentity) (*string, error) {\n\t\t\t\treturn \u0026storageAccountIdentities[0].PrincipalId, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tKeyPermissions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Create\"),\n\t\t\t\tpulumi.String(\"Delete\"),\n\t\t\t\tpulumi.String(\"Get\"),\n\t\t\t\tpulumi.String(\"Purge\"),\n\t\t\t\tpulumi.String(\"Recover\"),\n\t\t\t\tpulumi.String(\"Update\"),\n\t\t\t\tpulumi.String(\"List\"),\n\t\t\t\tpulumi.String(\"Decrypt\"),\n\t\t\t\tpulumi.String(\"Sign\"),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texampleWorkspace,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewWorkspaceRootDbfsCustomerManagedKey(ctx, \"example\", \u0026databricks.WorkspaceRootDbfsCustomerManagedKeyArgs{\n\t\t\tWorkspaceId: exampleWorkspace.ID(),\n\t\t\tKeyVaultKeyId: exampleKey.ID(),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tdatabricks,\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.databricks.Workspace;\nimport com.pulumi.azure.databricks.WorkspaceArgs;\nimport com.pulumi.azure.keyvault.KeyVault;\nimport com.pulumi.azure.keyvault.KeyVaultArgs;\nimport com.pulumi.azure.keyvault.AccessPolicy;\nimport com.pulumi.azure.keyvault.AccessPolicyArgs;\nimport com.pulumi.azure.keyvault.Key;\nimport com.pulumi.azure.keyvault.KeyArgs;\nimport com.pulumi.azure.databricks.WorkspaceRootDbfsCustomerManagedKey;\nimport com.pulumi.azure.databricks.WorkspaceRootDbfsCustomerManagedKeyArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 exampleWorkspace = new Workspace(\"exampleWorkspace\", WorkspaceArgs.builder()\n .name(\"databricks-test\")\n .resourceGroupName(example.name())\n .location(example.location())\n .sku(\"premium\")\n .customerManagedKeyEnabled(true)\n .tags(Map.of(\"Environment\", \"Production\"))\n .build());\n\n var exampleKeyVault = new KeyVault(\"exampleKeyVault\", KeyVaultArgs.builder()\n .name(\"examplekeyvault\")\n .location(example.location())\n .resourceGroupName(example.name())\n .tenantId(current.applyValue(getClientConfigResult -\u003e getClientConfigResult.tenantId()))\n .skuName(\"premium\")\n .purgeProtectionEnabled(true)\n .softDeleteRetentionDays(7)\n .build());\n\n var terraform = new AccessPolicy(\"terraform\", AccessPolicyArgs.builder()\n .keyVaultId(exampleKeyVault.id())\n .tenantId(exampleKeyVault.tenantId())\n .objectId(current.applyValue(getClientConfigResult -\u003e getClientConfigResult.objectId()))\n .keyPermissions( \n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\",\n \"GetRotationPolicy\")\n .build());\n\n var exampleKey = new Key(\"exampleKey\", KeyArgs.builder()\n .name(\"example-certificate\")\n .keyVaultId(exampleKeyVault.id())\n .keyType(\"RSA\")\n .keySize(2048)\n .keyOpts( \n \"decrypt\",\n \"encrypt\",\n \"sign\",\n \"unwrapKey\",\n \"verify\",\n \"wrapKey\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(terraform)\n .build());\n\n var databricks = new AccessPolicy(\"databricks\", AccessPolicyArgs.builder()\n .keyVaultId(exampleKeyVault.id())\n .tenantId(exampleWorkspace.storageAccountIdentities().applyValue(storageAccountIdentities -\u003e storageAccountIdentities[0].tenantId()))\n .objectId(exampleWorkspace.storageAccountIdentities().applyValue(storageAccountIdentities -\u003e storageAccountIdentities[0].principalId()))\n .keyPermissions( \n \"Create\",\n \"Delete\",\n \"Get\",\n \"Purge\",\n \"Recover\",\n \"Update\",\n \"List\",\n \"Decrypt\",\n \"Sign\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(exampleWorkspace)\n .build());\n\n var exampleWorkspaceRootDbfsCustomerManagedKey = new WorkspaceRootDbfsCustomerManagedKey(\"exampleWorkspaceRootDbfsCustomerManagedKey\", WorkspaceRootDbfsCustomerManagedKeyArgs.builder()\n .workspaceId(exampleWorkspace.id())\n .keyVaultKeyId(exampleKey.id())\n .build(), CustomResourceOptions.builder()\n .dependsOn(databricks)\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 exampleWorkspace:\n type: azure:databricks:Workspace\n name: example\n properties:\n name: databricks-test\n resourceGroupName: ${example.name}\n location: ${example.location}\n sku: premium\n customerManagedKeyEnabled: true\n tags:\n Environment: Production\n exampleWorkspaceRootDbfsCustomerManagedKey:\n type: azure:databricks:WorkspaceRootDbfsCustomerManagedKey\n name: example\n properties:\n workspaceId: ${exampleWorkspace.id}\n keyVaultKeyId: ${exampleKey.id}\n options:\n dependson:\n - ${databricks}\n exampleKeyVault:\n type: azure:keyvault:KeyVault\n name: example\n properties:\n name: examplekeyvault\n location: ${example.location}\n resourceGroupName: ${example.name}\n tenantId: ${current.tenantId}\n skuName: premium\n purgeProtectionEnabled: true\n softDeleteRetentionDays: 7\n exampleKey:\n type: azure:keyvault:Key\n name: example\n properties:\n name: example-certificate\n keyVaultId: ${exampleKeyVault.id}\n keyType: RSA\n keySize: 2048\n keyOpts:\n - decrypt\n - encrypt\n - sign\n - unwrapKey\n - verify\n - wrapKey\n options:\n dependson:\n - ${terraform}\n terraform:\n type: azure:keyvault:AccessPolicy\n properties:\n keyVaultId: ${exampleKeyVault.id}\n tenantId: ${exampleKeyVault.tenantId}\n objectId: ${current.objectId}\n keyPermissions:\n - Create\n - Delete\n - Get\n - Purge\n - Recover\n - Update\n - List\n - Decrypt\n - Sign\n - GetRotationPolicy\n databricks:\n type: azure:keyvault:AccessPolicy\n properties:\n keyVaultId: ${exampleKeyVault.id}\n tenantId: ${exampleWorkspace.storageAccountIdentities[0].tenantId}\n objectId: ${exampleWorkspace.storageAccountIdentities[0].principalId}\n keyPermissions:\n - Create\n - Delete\n - Get\n - Purge\n - Recover\n - Update\n - List\n - Decrypt\n - Sign\n options:\n dependson:\n - ${exampleWorkspace}\nvariables:\n current:\n fn::invoke:\n Function: azure:core:getClientConfig\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Example HCL Configurations\n\n* Databricks Workspace with Root Databricks File System Customer Managed Keys\n* Databricks Workspace with Root Databricks File System Customer Managed Keys in a Different Subscription\n* Databricks Workspace with Private Endpoint, Customer Managed Keys for Managed Services and Root Databricks File System Customer Managed Keys\n\n## Import\n\nDatabricks Workspace Root DBFS Customer Managed Key can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:databricks/workspaceRootDbfsCustomerManagedKey:WorkspaceRootDbfsCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1\n```\n\n", "properties": { @@ -183173,6 +183397,182 @@ } ] }, + "azure:eventgrid/namespace:Namespace": { + "description": "Manages an EventGrid Namespace\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 exampleNamespace = new azure.eventgrid.Namespace(\"example\", {\n name: \"my-eventgrid-namespace\",\n location: example.location,\n resourceGroupName: example.name,\n tags: {\n environment: \"Production\",\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_namespace = azure.eventgrid.Namespace(\"example\",\n name=\"my-eventgrid-namespace\",\n location=example.location,\n resource_group_name=example.name,\n tags={\n \"environment\": \"Production\",\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 exampleNamespace = new Azure.EventGrid.Namespace(\"example\", new()\n {\n Name = \"my-eventgrid-namespace\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Tags = \n {\n { \"environment\", \"Production\" },\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/eventgrid\"\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 = eventgrid.NewNamespace(ctx, \"example\", \u0026eventgrid.NamespaceArgs{\n\t\t\tName: pulumi.String(\"my-eventgrid-namespace\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\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\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.eventgrid.Namespace;\nimport com.pulumi.azure.eventgrid.NamespaceArgs;\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 exampleNamespace = new Namespace(\"exampleNamespace\", NamespaceArgs.builder()\n .name(\"my-eventgrid-namespace\")\n .location(example.location())\n .resourceGroupName(example.name())\n .tags(Map.of(\"environment\", \"Production\"))\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 exampleNamespace:\n type: azure:eventgrid:Namespace\n name: example\n properties:\n name: my-eventgrid-namespace\n location: ${example.location}\n resourceGroupName: ${example.name}\n tags:\n environment: Production\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEventGrid Namespace's can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1\n```\n\n", + "properties": { + "capacity": { + "type": "integer", + "description": "Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`.\n" + }, + "identity": { + "$ref": "#/types/azure:eventgrid/NamespaceIdentity:NamespaceIdentity", + "description": "An `identity` block as defined below.\n" + }, + "inboundIpRules": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceInboundIpRule:NamespaceInboundIpRule" + }, + "description": "One or more `inbound_ip_rule` blocks as defined below.\n" + }, + "location": { + "type": "string", + "description": "Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created.\n" + }, + "name": { + "type": "string", + "description": "Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created.\n" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for this server. Defaults to `Enabled`.\n" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created.\n" + }, + "sku": { + "type": "string", + "description": "Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the resource.\n" + }, + "topicSpacesConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceTopicSpacesConfiguration:NamespaceTopicSpacesConfiguration" + }, + "description": "A `topic_spaces_configuration` block as defined below.\n" + } + }, + "required": [ + "location", + "name", + "resourceGroupName" + ], + "inputProperties": { + "capacity": { + "type": "integer", + "description": "Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`.\n" + }, + "identity": { + "$ref": "#/types/azure:eventgrid/NamespaceIdentity:NamespaceIdentity", + "description": "An `identity` block as defined below.\n" + }, + "inboundIpRules": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceInboundIpRule:NamespaceInboundIpRule" + }, + "description": "One or more `inbound_ip_rule` blocks as defined below.\n" + }, + "location": { + "type": "string", + "description": "Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for this server. Defaults to `Enabled`.\n" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "sku": { + "type": "string", + "description": "Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the resource.\n" + }, + "topicSpacesConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceTopicSpacesConfiguration:NamespaceTopicSpacesConfiguration" + }, + "description": "A `topic_spaces_configuration` block as defined below.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "resourceGroupName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Namespace resources.\n", + "properties": { + "capacity": { + "type": "integer", + "description": "Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`.\n" + }, + "identity": { + "$ref": "#/types/azure:eventgrid/NamespaceIdentity:NamespaceIdentity", + "description": "An `identity` block as defined below.\n" + }, + "inboundIpRules": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceInboundIpRule:NamespaceInboundIpRule" + }, + "description": "One or more `inbound_ip_rule` blocks as defined below.\n" + }, + "location": { + "type": "string", + "description": "Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for this server. Defaults to `Enabled`.\n" + }, + "resourceGroupName": { + "type": "string", + "description": "The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created.\n", + "willReplaceOnChanges": true + }, + "sku": { + "type": "string", + "description": "Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`.\n" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of tags to assign to the resource.\n" + }, + "topicSpacesConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/azure:eventgrid/NamespaceTopicSpacesConfiguration:NamespaceTopicSpacesConfiguration" + }, + "description": "A `topic_spaces_configuration` block as defined below.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "azure:eventgrid/systemTopic:SystemTopic": { "description": "Manages an Event Grid System Topic.\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.storage.Account(\"example\", {\n name: \"examplestoracct\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n tags: {\n environment: \"staging\",\n },\n});\nconst exampleSystemTopic = new azure.eventgrid.SystemTopic(\"example\", {\n name: \"example-topic\",\n resourceGroupName: example.name,\n location: example.location,\n sourceArmResourceId: exampleAccount.id,\n topicType: \"Microsoft.Storage.StorageAccounts\",\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.storage.Account(\"example\",\n name=\"examplestoracct\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\",\n tags={\n \"environment\": \"staging\",\n })\nexample_system_topic = azure.eventgrid.SystemTopic(\"example\",\n name=\"example-topic\",\n resource_group_name=example.name,\n location=example.location,\n source_arm_resource_id=example_account.id,\n topic_type=\"Microsoft.Storage.StorageAccounts\")\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.Storage.Account(\"example\", new()\n {\n Name = \"examplestoracct\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n Tags = \n {\n { \"environment\", \"staging\" },\n },\n });\n\n var exampleSystemTopic = new Azure.EventGrid.SystemTopic(\"example\", new()\n {\n Name = \"example-topic\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n SourceArmResourceId = exampleAccount.Id,\n TopicType = \"Microsoft.Storage.StorageAccounts\",\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/eventgrid\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage\"\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 := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"examplestoracct\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"staging\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = eventgrid.NewSystemTopic(ctx, \"example\", \u0026eventgrid.SystemTopicArgs{\n\t\t\tName: pulumi.String(\"example-topic\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tSourceArmResourceId: exampleAccount.ID(),\n\t\t\tTopicType: pulumi.String(\"Microsoft.Storage.StorageAccounts\"),\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.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.eventgrid.SystemTopic;\nimport com.pulumi.azure.eventgrid.SystemTopicArgs;\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(\"examplestoracct\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .tags(Map.of(\"environment\", \"staging\"))\n .build());\n\n var exampleSystemTopic = new SystemTopic(\"exampleSystemTopic\", SystemTopicArgs.builder()\n .name(\"example-topic\")\n .resourceGroupName(example.name())\n .location(example.location())\n .sourceArmResourceId(exampleAccount.id())\n .topicType(\"Microsoft.Storage.StorageAccounts\")\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:storage:Account\n name: example\n properties:\n name: examplestoracct\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n tags:\n environment: staging\n exampleSystemTopic:\n type: azure:eventgrid:SystemTopic\n name: example\n properties:\n name: example-topic\n resourceGroupName: ${example.name}\n location: ${example.location}\n sourceArmResourceId: ${exampleAccount.id}\n topicType: Microsoft.Storage.StorageAccounts\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nEvent Grid System Topic can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:eventgrid/systemTopic:SystemTopic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/systemTopics/systemTopic1\n```\n\n", "properties": { @@ -185157,7 +185557,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `1.2`.\n" + "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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" }, "name": { "type": "string", @@ -185233,7 +185633,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `1.2`.\n" + "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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" }, "name": { "type": "string", @@ -185334,7 +185734,7 @@ }, "minimumTlsVersion": { "type": "string", - "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `1.2`.\n" + "description": "The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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" }, "name": { "type": "string", @@ -210966,7 +211366,7 @@ } }, "azure:monitoring/aadDiagnosticSetting:AadDiagnosticSetting": { - "description": "Manages an Azure Active Directory Diagnostic Setting for Azure Monitor.\n\n!\u003e **Authentication** The API for this resource does not support service principal authentication. This resource can only be used with Azure CLI authentication.\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 exampleAccount = new azure.storage.Account(\"example\", {\n name: \"examplestorageaccount\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountKind: \"StorageV2\",\n accountReplicationType: \"LRS\",\n});\nconst exampleAadDiagnosticSetting = new azure.monitoring.AadDiagnosticSetting(\"example\", {\n name: \"setting1\",\n storageAccountId: exampleAccount.id,\n enabledLogs: [\n {\n category: \"SignInLogs\",\n retentionPolicy: {\n enabled: true,\n days: 1,\n },\n },\n {\n category: \"AuditLogs\",\n retentionPolicy: {\n enabled: true,\n days: 1,\n },\n },\n {\n category: \"NonInteractiveUserSignInLogs\",\n retentionPolicy: {\n enabled: true,\n days: 1,\n },\n },\n {\n category: \"ServicePrincipalSignInLogs\",\n retentionPolicy: {\n enabled: true,\n days: 1,\n },\n },\n ],\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_account = azure.storage.Account(\"example\",\n name=\"examplestorageaccount\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_kind=\"StorageV2\",\n account_replication_type=\"LRS\")\nexample_aad_diagnostic_setting = azure.monitoring.AadDiagnosticSetting(\"example\",\n name=\"setting1\",\n storage_account_id=example_account.id,\n enabled_logs=[\n {\n \"category\": \"SignInLogs\",\n \"retention_policy\": {\n \"enabled\": True,\n \"days\": 1,\n },\n },\n {\n \"category\": \"AuditLogs\",\n \"retention_policy\": {\n \"enabled\": True,\n \"days\": 1,\n },\n },\n {\n \"category\": \"NonInteractiveUserSignInLogs\",\n \"retention_policy\": {\n \"enabled\": True,\n \"days\": 1,\n },\n },\n {\n \"category\": \"ServicePrincipalSignInLogs\",\n \"retention_policy\": {\n \"enabled\": True,\n \"days\": 1,\n },\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-rg\",\n Location = \"west europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"examplestorageaccount\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountKind = \"StorageV2\",\n AccountReplicationType = \"LRS\",\n });\n\n var exampleAadDiagnosticSetting = new Azure.Monitoring.AadDiagnosticSetting(\"example\", new()\n {\n Name = \"setting1\",\n StorageAccountId = exampleAccount.Id,\n EnabledLogs = new[]\n {\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"SignInLogs\",\n RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs\n {\n Enabled = true,\n Days = 1,\n },\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"AuditLogs\",\n RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs\n {\n Enabled = true,\n Days = 1,\n },\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"NonInteractiveUserSignInLogs\",\n RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs\n {\n Enabled = true,\n Days = 1,\n },\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"ServicePrincipalSignInLogs\",\n RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs\n {\n Enabled = true,\n Days = 1,\n },\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/monitoring\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage\"\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\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"examplestorageaccount\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountKind: pulumi.String(\"StorageV2\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = monitoring.NewAadDiagnosticSetting(ctx, \"example\", \u0026monitoring.AadDiagnosticSettingArgs{\n\t\t\tName: pulumi.String(\"setting1\"),\n\t\t\tStorageAccountId: exampleAccount.ID(),\n\t\t\tEnabledLogs: monitoring.AadDiagnosticSettingEnabledLogArray{\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"SignInLogs\"),\n\t\t\t\t\tRetentionPolicy: \u0026monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{\n\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tDays: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"AuditLogs\"),\n\t\t\t\t\tRetentionPolicy: \u0026monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{\n\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tDays: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"NonInteractiveUserSignInLogs\"),\n\t\t\t\t\tRetentionPolicy: \u0026monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{\n\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tDays: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"ServicePrincipalSignInLogs\"),\n\t\t\t\t\tRetentionPolicy: \u0026monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{\n\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tDays: pulumi.Int(1),\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\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.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.monitoring.AadDiagnosticSetting;\nimport com.pulumi.azure.monitoring.AadDiagnosticSettingArgs;\nimport com.pulumi.azure.monitoring.inputs.AadDiagnosticSettingEnabledLogArgs;\nimport com.pulumi.azure.monitoring.inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs;\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 exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"examplestorageaccount\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountKind(\"StorageV2\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var exampleAadDiagnosticSetting = new AadDiagnosticSetting(\"exampleAadDiagnosticSetting\", AadDiagnosticSettingArgs.builder()\n .name(\"setting1\")\n .storageAccountId(exampleAccount.id())\n .enabledLogs( \n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"SignInLogs\")\n .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder()\n .enabled(true)\n .days(1)\n .build())\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"AuditLogs\")\n .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder()\n .enabled(true)\n .days(1)\n .build())\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"NonInteractiveUserSignInLogs\")\n .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder()\n .enabled(true)\n .days(1)\n .build())\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"ServicePrincipalSignInLogs\")\n .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder()\n .enabled(true)\n .days(1)\n .build())\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 exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: examplestorageaccount\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountKind: StorageV2\n accountReplicationType: LRS\n exampleAadDiagnosticSetting:\n type: azure:monitoring:AadDiagnosticSetting\n name: example\n properties:\n name: setting1\n storageAccountId: ${exampleAccount.id}\n enabledLogs:\n - category: SignInLogs\n retentionPolicy:\n enabled: true\n days: 1\n - category: AuditLogs\n retentionPolicy:\n enabled: true\n days: 1\n - category: NonInteractiveUserSignInLogs\n retentionPolicy:\n enabled: true\n days: 1\n - category: ServicePrincipalSignInLogs\n retentionPolicy:\n enabled: true\n days: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitor Azure Active Directory Diagnostic Settings can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:monitoring/aadDiagnosticSetting:AadDiagnosticSetting example /providers/Microsoft.AADIAM/diagnosticSettings/setting1\n```\n\n", + "description": "Manages an Azure Active Directory Diagnostic Setting for Azure Monitor.\n\n!\u003e **Authentication** The API for this resource does not support service principal authentication. This resource can only be used with Azure CLI authentication.\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 exampleAccount = new azure.storage.Account(\"example\", {\n name: \"examplestorageaccount\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountKind: \"StorageV2\",\n accountReplicationType: \"LRS\",\n});\nconst exampleAadDiagnosticSetting = new azure.monitoring.AadDiagnosticSetting(\"example\", {\n name: \"setting1\",\n storageAccountId: exampleAccount.id,\n enabledLogs: [\n {\n category: \"SignInLogs\",\n },\n {\n category: \"AuditLogs\",\n },\n {\n category: \"NonInteractiveUserSignInLogs\",\n },\n {\n category: \"ServicePrincipalSignInLogs\",\n },\n ],\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_account = azure.storage.Account(\"example\",\n name=\"examplestorageaccount\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_kind=\"StorageV2\",\n account_replication_type=\"LRS\")\nexample_aad_diagnostic_setting = azure.monitoring.AadDiagnosticSetting(\"example\",\n name=\"setting1\",\n storage_account_id=example_account.id,\n enabled_logs=[\n {\n \"category\": \"SignInLogs\",\n },\n {\n \"category\": \"AuditLogs\",\n },\n {\n \"category\": \"NonInteractiveUserSignInLogs\",\n },\n {\n \"category\": \"ServicePrincipalSignInLogs\",\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-rg\",\n Location = \"west europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"examplestorageaccount\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountKind = \"StorageV2\",\n AccountReplicationType = \"LRS\",\n });\n\n var exampleAadDiagnosticSetting = new Azure.Monitoring.AadDiagnosticSetting(\"example\", new()\n {\n Name = \"setting1\",\n StorageAccountId = exampleAccount.Id,\n EnabledLogs = new[]\n {\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"SignInLogs\",\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"AuditLogs\",\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"NonInteractiveUserSignInLogs\",\n },\n new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs\n {\n Category = \"ServicePrincipalSignInLogs\",\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/monitoring\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage\"\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\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"examplestorageaccount\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountKind: pulumi.String(\"StorageV2\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = monitoring.NewAadDiagnosticSetting(ctx, \"example\", \u0026monitoring.AadDiagnosticSettingArgs{\n\t\t\tName: pulumi.String(\"setting1\"),\n\t\t\tStorageAccountId: exampleAccount.ID(),\n\t\t\tEnabledLogs: monitoring.AadDiagnosticSettingEnabledLogArray{\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"SignInLogs\"),\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"AuditLogs\"),\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"NonInteractiveUserSignInLogs\"),\n\t\t\t\t},\n\t\t\t\t\u0026monitoring.AadDiagnosticSettingEnabledLogArgs{\n\t\t\t\t\tCategory: pulumi.String(\"ServicePrincipalSignInLogs\"),\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.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.monitoring.AadDiagnosticSetting;\nimport com.pulumi.azure.monitoring.AadDiagnosticSettingArgs;\nimport com.pulumi.azure.monitoring.inputs.AadDiagnosticSettingEnabledLogArgs;\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 exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"examplestorageaccount\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountKind(\"StorageV2\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var exampleAadDiagnosticSetting = new AadDiagnosticSetting(\"exampleAadDiagnosticSetting\", AadDiagnosticSettingArgs.builder()\n .name(\"setting1\")\n .storageAccountId(exampleAccount.id())\n .enabledLogs( \n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"SignInLogs\")\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"AuditLogs\")\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"NonInteractiveUserSignInLogs\")\n .build(),\n AadDiagnosticSettingEnabledLogArgs.builder()\n .category(\"ServicePrincipalSignInLogs\")\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 exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: examplestorageaccount\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountKind: StorageV2\n accountReplicationType: LRS\n exampleAadDiagnosticSetting:\n type: azure:monitoring:AadDiagnosticSetting\n name: example\n properties:\n name: setting1\n storageAccountId: ${exampleAccount.id}\n enabledLogs:\n - category: SignInLogs\n - category: AuditLogs\n - category: NonInteractiveUserSignInLogs\n - category: ServicePrincipalSignInLogs\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMonitor Azure Active Directory Diagnostic Settings can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:monitoring/aadDiagnosticSetting:AadDiagnosticSetting example /providers/Microsoft.AADIAM/diagnosticSettings/setting1\n```\n\n", "properties": { "enabledLogs": { "type": "array", @@ -224920,7 +225320,7 @@ "items": { "type": "string" }, - "description": "A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager.\n" + "description": "A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager.\n" }, "tags": { "type": "object", @@ -224967,7 +225367,7 @@ "items": { "type": "string" }, - "description": "A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager.\n" + "description": "A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager.\n" }, "tags": { "type": "object", @@ -225020,7 +225420,7 @@ "items": { "type": "string" }, - "description": "A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager.\n" + "description": "A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager.\n" }, "tags": { "type": "object", @@ -226522,7 +226922,7 @@ }, "networkSecurityGroupId": { "type": "string", - "description": "The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created.\n" + "deprecationMessage": "The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider." }, "networkWatcherName": { "type": "string", @@ -226547,6 +226947,10 @@ }, "description": "A mapping of tags which should be assigned to the Network Watcher Flow Log.\n" }, + "targetResourceId": { + "type": "string", + "description": "The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created.\n" + }, "trafficAnalytics": { "$ref": "#/types/azure:network/NetworkWatcherFlowLogTrafficAnalytics:NetworkWatcherFlowLogTrafficAnalytics", "description": "A `traffic_analytics` block as documented below.\n" @@ -226564,7 +226968,8 @@ "networkWatcherName", "resourceGroupName", "retentionPolicy", - "storageAccountId" + "storageAccountId", + "targetResourceId" ], "inputProperties": { "enabled": { @@ -226583,8 +226988,7 @@ }, "networkSecurityGroupId": { "type": "string", - "description": "The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created.\n", - "willReplaceOnChanges": true + "deprecationMessage": "The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider." }, "networkWatcherName": { "type": "string", @@ -226611,6 +227015,10 @@ }, "description": "A mapping of tags which should be assigned to the Network Watcher Flow Log.\n" }, + "targetResourceId": { + "type": "string", + "description": "The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created.\n" + }, "trafficAnalytics": { "$ref": "#/types/azure:network/NetworkWatcherFlowLogTrafficAnalytics:NetworkWatcherFlowLogTrafficAnalytics", "description": "A `traffic_analytics` block as documented below.\n" @@ -226622,7 +227030,6 @@ }, "requiredInputs": [ "enabled", - "networkSecurityGroupId", "networkWatcherName", "resourceGroupName", "retentionPolicy", @@ -226647,8 +227054,7 @@ }, "networkSecurityGroupId": { "type": "string", - "description": "The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created.\n", - "willReplaceOnChanges": true + "deprecationMessage": "The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider." }, "networkWatcherName": { "type": "string", @@ -226675,6 +227081,10 @@ }, "description": "A mapping of tags which should be assigned to the Network Watcher Flow Log.\n" }, + "targetResourceId": { + "type": "string", + "description": "The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created.\n" + }, "trafficAnalytics": { "$ref": "#/types/azure:network/NetworkWatcherFlowLogTrafficAnalytics:NetworkWatcherFlowLogTrafficAnalytics", "description": "A `traffic_analytics` block as documented below.\n" @@ -230398,7 +230808,7 @@ "items": { "$ref": "#/types/azure:network/VirtualNetworkGatewayIpConfiguration:VirtualNetworkGatewayIpConfiguration" }, - "description": "One or more (up to 3) `ip_configuration` blocks documented below.\nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n" + "description": "One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. \nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n" }, "ipSecReplayProtectionEnabled": { "type": "boolean", @@ -230515,7 +230925,8 @@ "items": { "$ref": "#/types/azure:network/VirtualNetworkGatewayIpConfiguration:VirtualNetworkGatewayIpConfiguration" }, - "description": "One or more (up to 3) `ip_configuration` blocks documented below.\nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n" + "description": "One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. \nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n", + "willReplaceOnChanges": true }, "ipSecReplayProtectionEnabled": { "type": "boolean", @@ -230634,7 +231045,8 @@ "items": { "$ref": "#/types/azure:network/VirtualNetworkGatewayIpConfiguration:VirtualNetworkGatewayIpConfiguration" }, - "description": "One or more (up to 3) `ip_configuration` blocks documented below.\nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n" + "description": "One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. \nAn active-standby gateway requires exactly one `ip_configuration` block,\nan active-active gateway requires exactly two `ip_configuration` blocks whereas\nan active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.\n", + "willReplaceOnChanges": true }, "ipSecReplayProtectionEnabled": { "type": "boolean", @@ -244681,6 +245093,7 @@ } }, "required": [ + "conditionVersion", "name", "principalId", "principalType", @@ -245583,7 +245996,7 @@ } }, "azure:securitycenter/autoProvisioning:AutoProvisioning": { - "description": "Enables or disables the Security Center Auto Provisioning feature for the subscription\n\n\u003e **NOTE:** There is no resource name required, it will always be \"default\"\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.securitycenter.AutoProvisioning(\"example\", {autoProvision: \"On\"});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.securitycenter.AutoProvisioning(\"example\", auto_provision=\"On\")\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.SecurityCenter.AutoProvisioning(\"example\", new()\n {\n AutoProvision = \"On\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/securitycenter\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securitycenter.NewAutoProvisioning(ctx, \"example\", \u0026securitycenter.AutoProvisioningArgs{\n\t\t\tAutoProvision: pulumi.String(\"On\"),\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.securitycenter.AutoProvisioning;\nimport com.pulumi.azure.securitycenter.AutoProvisioningArgs;\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 AutoProvisioning(\"example\", AutoProvisioningArgs.builder()\n .autoProvision(\"On\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:securitycenter:AutoProvisioning\n properties:\n autoProvision: On\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSecurity Center Auto Provisioning can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:securitycenter/autoProvisioning:AutoProvisioning example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/autoProvisioningSettings/default\n```\n\n", + "description": "Enables or disables the Security Center Auto Provisioning feature for the subscription\n\n\u003e **Note:** The `azure.securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider.\n\n\u003e **NOTE:** There is no resource name required, it will always be \"default\"\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.securitycenter.AutoProvisioning(\"example\", {autoProvision: \"On\"});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.securitycenter.AutoProvisioning(\"example\", auto_provision=\"On\")\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.SecurityCenter.AutoProvisioning(\"example\", new()\n {\n AutoProvision = \"On\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/securitycenter\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := securitycenter.NewAutoProvisioning(ctx, \"example\", \u0026securitycenter.AutoProvisioningArgs{\n\t\t\tAutoProvision: pulumi.String(\"On\"),\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.securitycenter.AutoProvisioning;\nimport com.pulumi.azure.securitycenter.AutoProvisioningArgs;\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 AutoProvisioning(\"example\", AutoProvisioningArgs.builder()\n .autoProvision(\"On\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:securitycenter:AutoProvisioning\n properties:\n autoProvision: On\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSecurity Center Auto Provisioning can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:securitycenter/autoProvisioning:AutoProvisioning example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/autoProvisioningSettings/default\n```\n\n", "properties": { "autoProvision": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 1336bbeb67..f61f41089f 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.20241104.1140654 + github.com/hashicorp/go-azure-sdk/sdk v0.20241118.1115603 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.20241104.1140654 // indirect + github.com/hashicorp/go-azure-sdk/resource-manager v0.20241118.1115603 // 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 @@ -139,7 +139,7 @@ require ( github.com/hashicorp/go-version v1.7.0 // indirect github.com/hashicorp/hc-install v0.9.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.22.0 // indirect + github.com/hashicorp/hcl/v2 v2.23.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.21.0 // indirect @@ -147,7 +147,7 @@ require ( github.com/hashicorp/terraform-plugin-framework v1.13.0 // indirect github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-testing v1.8.0 // indirect + github.com/hashicorp/terraform-plugin-testing v1.11.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.12.0 // indirect @@ -247,15 +247,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.28.0 // indirect + golang.org/x/crypto v0.29.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.21.0 // indirect golang.org/x/net v0.28.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.26.0 // indirect - golang.org/x/term v0.25.0 // indirect - golang.org/x/text v0.19.0 // indirect + golang.org/x/sync v0.9.0 // indirect + golang.org/x/sys v0.27.0 // indirect + golang.org/x/term v0.26.0 // indirect + golang.org/x/text v0.20.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.22.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect diff --git a/provider/go.sum b/provider/go.sum index 583fb70fb6..242e194d29 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.20241104.1140654 h1:mJJ+LO2Xdu5S+Ccie0QTGXEupuVZfkQqCZ2/IOMeDIo= -github.com/hashicorp/go-azure-sdk/resource-manager v0.20241104.1140654/go.mod h1:JFrQrK0Pbn0ynhgcnIsgD9lp1xq0vaRVtnxvPFiar1U= -github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654 h1:DxQDXVDMu2Jkli2KAWvwU2+fR9I7W5U2dKpwUAkARig= -github.com/hashicorp/go-azure-sdk/sdk v0.20241104.1140654/go.mod h1:dMKF6bXrgGmy1d3pLzkmBpG2JIHgSAV2/OMSCEgyMwE= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241118.1115603 h1:YmPg9BwqWZdrNtaezgwt3rRLJipDrAEFQw/EJ54yFVs= +github.com/hashicorp/go-azure-sdk/resource-manager v0.20241118.1115603/go.mod h1:7mzEbFWcjAAO2xomo9oB8B3HbjLRIaS2gMulSfuOmvY= +github.com/hashicorp/go-azure-sdk/sdk v0.20241118.1115603 h1:7Nmi7O/vl4aTSGFARHb1QXxRNI1GlZ6wKD8046/bGBo= +github.com/hashicorp/go-azure-sdk/sdk v0.20241118.1115603/go.mod h1:dMKF6bXrgGmy1d3pLzkmBpG2JIHgSAV2/OMSCEgyMwE= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1689,8 +1689,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= -github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M= -github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= +github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos= +github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1718,8 +1718,8 @@ github.com/hashicorp/terraform-plugin-mux v0.17.0/go.mod h1:yWuM9U1Jg8DryNfvCp+l github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-testing v1.8.0 h1:wdYIgwDk4iO933gC4S8KbKdnMQShu6BXuZQPScmHvpk= -github.com/hashicorp/terraform-plugin-testing v1.8.0/go.mod h1:o2kOgf18ADUaZGhtOl0YCkfIxg01MAiMATT2EtIHlZk= +github.com/hashicorp/terraform-plugin-testing v1.11.0 h1:MeDT5W3YHbONJt2aPQyaBsgQeAIckwPX41EUHXEn29A= +github.com/hashicorp/terraform-plugin-testing v1.11.0/go.mod h1:WNAHQ3DcgV/0J+B15WTE6hDvxcUdkPPpnB1FR3M910U= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -2207,8 +2207,8 @@ golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= -golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= +golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ= +golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2414,8 +2414,8 @@ golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ= +golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2526,8 +2526,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= +golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2548,8 +2548,8 @@ golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= -golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= +golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU= +golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2571,8 +2571,8 @@ golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= -golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= +golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/provider/resources.go b/provider/resources.go index 675b3c13c3..d42d887eda 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -1161,6 +1161,12 @@ func Provider() tfbridge.ProviderInfo { // DataBricks "azurerm_databricks_access_connector": {Tok: azureResource(azureDataBricks, "AccessConnector")}, "azurerm_databricks_workspace": {Tok: azureResource(azureDataBricks, "Workspace")}, + "azurerm_databricks_workspace_customer_managed_key": { + Tok: azureResource(azureDataBricks, "WorkspaceCustomerManagedKey"), + Docs: &tfbridge.DocInfo{ + Source: "databricks_workspace.html.markdown", + }, + }, "azurerm_databricks_workspace_root_dbfs_customer_managed_key": { Tok: azureResource(azureDataBricks, "WorkspaceRootDbfsCustomerManagedKey"), Aliases: []tfbridge.AliasInfo{{Type: ref("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey")}}, diff --git a/sdk/dotnet/ApiManagement/Api.cs b/sdk/dotnet/ApiManagement/Api.cs index 0c55af887c..45d6486705 100644 --- a/sdk/dotnet/ApiManagement/Api.cs +++ b/sdk/dotnet/ApiManagement/Api.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_schema_swagger.json", /// }, /// }); /// diff --git a/sdk/dotnet/ApiManagement/Inputs/ApiImportArgs.cs b/sdk/dotnet/ApiManagement/Inputs/ApiImportArgs.cs index 0f75a51f2d..1b55908cce 100644 --- a/sdk/dotnet/ApiManagement/Inputs/ApiImportArgs.cs +++ b/sdk/dotnet/ApiManagement/Inputs/ApiImportArgs.cs @@ -19,7 +19,7 @@ public sealed class ApiImportArgs : global::Pulumi.ResourceArgs public Input ContentFormat { get; set; } = null!; /// - /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. /// [Input("contentValue", required: true)] public Input ContentValue { get; set; } = null!; diff --git a/sdk/dotnet/ApiManagement/Inputs/ApiImportGetArgs.cs b/sdk/dotnet/ApiManagement/Inputs/ApiImportGetArgs.cs index bfcd2d5c16..ab5954c530 100644 --- a/sdk/dotnet/ApiManagement/Inputs/ApiImportGetArgs.cs +++ b/sdk/dotnet/ApiManagement/Inputs/ApiImportGetArgs.cs @@ -19,7 +19,7 @@ public sealed class ApiImportGetArgs : global::Pulumi.ResourceArgs public Input ContentFormat { get; set; } = null!; /// - /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. /// [Input("contentValue", required: true)] public Input ContentValue { get; set; } = null!; diff --git a/sdk/dotnet/ApiManagement/Outputs/ApiImport.cs b/sdk/dotnet/ApiManagement/Outputs/ApiImport.cs index fd86c7b8a6..094d0c0d6b 100644 --- a/sdk/dotnet/ApiManagement/Outputs/ApiImport.cs +++ b/sdk/dotnet/ApiManagement/Outputs/ApiImport.cs @@ -18,7 +18,7 @@ public sealed class ApiImport /// public readonly string ContentFormat; /// - /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + /// The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. /// public readonly string ContentValue; /// diff --git a/sdk/dotnet/ArcMachine/ArcMachine.cs b/sdk/dotnet/ArcMachine/ArcMachine.cs index d55f36ce30..213af8b46b 100644 --- a/sdk/dotnet/ArcMachine/ArcMachine.cs +++ b/sdk/dotnet/ArcMachine/ArcMachine.cs @@ -34,6 +34,14 @@ namespace Pulumi.Azure.ArcMachine /// ResourceGroupName = example.Name, /// Location = example.Location, /// Kind = "SCVMM", + /// Identity = new Azure.ArcMachine.Inputs.ArcMachineIdentityArgs + /// { + /// Type = "SystemAssigned", + /// }, + /// Tags = + /// { + /// { "environment", "example" }, + /// }, /// }); /// /// }); @@ -50,6 +58,12 @@ namespace Pulumi.Azure.ArcMachine [AzureResourceType("azure:arcmachine/arcMachine:ArcMachine")] public partial class ArcMachine : global::Pulumi.CustomResource { + /// + /// An `identity` block as defined below. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + /// /// The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. /// @@ -74,6 +88,12 @@ public partial class ArcMachine : global::Pulumi.CustomResource [Output("resourceGroupName")] public Output ResourceGroupName { get; private set; } = null!; + /// + /// A mapping of tags to assign to the Arc Machine. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + /// /// Create a ArcMachine resource with the given unique name, arguments, and options. @@ -120,6 +140,12 @@ public static ArcMachine Get(string name, Input id, ArcMachineState? sta public sealed class ArcMachineArgs : global::Pulumi.ResourceArgs { + /// + /// An `identity` block as defined below. + /// + [Input("identity")] + public Input? Identity { get; set; } + /// /// The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. /// @@ -144,6 +170,18 @@ public sealed class ArcMachineArgs : global::Pulumi.ResourceArgs [Input("resourceGroupName", required: true)] public Input ResourceGroupName { get; set; } = null!; + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the Arc Machine. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + public ArcMachineArgs() { } @@ -152,6 +190,12 @@ public ArcMachineArgs() public sealed class ArcMachineState : global::Pulumi.ResourceArgs { + /// + /// An `identity` block as defined below. + /// + [Input("identity")] + public Input? Identity { get; set; } + /// /// The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. /// @@ -176,6 +220,18 @@ public sealed class ArcMachineState : global::Pulumi.ResourceArgs [Input("resourceGroupName")] public Input? ResourceGroupName { get; set; } + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the Arc Machine. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + public ArcMachineState() { } diff --git a/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityArgs.cs b/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityArgs.cs new file mode 100644 index 0000000000..168fefb400 --- /dev/null +++ b/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityArgs.cs @@ -0,0 +1,38 @@ +// *** 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.ArcMachine.Inputs +{ + + public sealed class ArcMachineIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The Principal ID associated with this Managed Service Identity. + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// The Tenant ID associated with this Managed Service Identity. + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ArcMachineIdentityArgs() + { + } + public static new ArcMachineIdentityArgs Empty => new ArcMachineIdentityArgs(); + } +} diff --git a/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityGetArgs.cs b/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityGetArgs.cs new file mode 100644 index 0000000000..fe8e7f0ae3 --- /dev/null +++ b/sdk/dotnet/ArcMachine/Inputs/ArcMachineIdentityGetArgs.cs @@ -0,0 +1,38 @@ +// *** 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.ArcMachine.Inputs +{ + + public sealed class ArcMachineIdentityGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Principal ID associated with this Managed Service Identity. + /// + [Input("principalId")] + public Input? PrincipalId { get; set; } + + /// + /// The Tenant ID associated with this Managed Service Identity. + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ArcMachineIdentityGetArgs() + { + } + public static new ArcMachineIdentityGetArgs Empty => new ArcMachineIdentityGetArgs(); + } +} diff --git a/sdk/dotnet/ArcMachine/Outputs/ArcMachineIdentity.cs b/sdk/dotnet/ArcMachine/Outputs/ArcMachineIdentity.cs new file mode 100644 index 0000000000..bc7cdfca84 --- /dev/null +++ b/sdk/dotnet/ArcMachine/Outputs/ArcMachineIdentity.cs @@ -0,0 +1,42 @@ +// *** 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.ArcMachine.Outputs +{ + + [OutputType] + public sealed class ArcMachineIdentity + { + /// + /// The Principal ID associated with this Managed Service Identity. + /// + public readonly string? PrincipalId; + /// + /// The Tenant ID associated with this Managed Service Identity. + /// + public readonly string? TenantId; + /// + /// Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + /// + public readonly string Type; + + [OutputConstructor] + private ArcMachineIdentity( + string? principalId, + + string? tenantId, + + string type) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/Authorization/Assignment.cs b/sdk/dotnet/Authorization/Assignment.cs index b8c0002038..d2f5ed5adf 100644 --- a/sdk/dotnet/Authorization/Assignment.cs +++ b/sdk/dotnet/Authorization/Assignment.cs @@ -279,7 +279,7 @@ public partial class Assignment : global::Pulumi.CustomResource /// The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. /// [Output("conditionVersion")] - public Output ConditionVersion { get; private set; } = null!; + public Output ConditionVersion { get; private set; } = null!; /// /// The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/dotnet/CosmosDB/Account.cs b/sdk/dotnet/CosmosDB/Account.cs index 55ccc2a545..2a9058e9b1 100644 --- a/sdk/dotnet/CosmosDB/Account.cs +++ b/sdk/dotnet/CosmosDB/Account.cs @@ -254,6 +254,8 @@ public partial class Account : global::Pulumi.CustomResource /// /// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + /// + /// > **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 details. /// [Output("minimalTlsVersion")] public Output MinimalTlsVersion { get; private set; } = null!; @@ -551,6 +553,8 @@ public InputList IpRangeFilters /// /// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + /// + /// > **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 details. /// [Input("minimalTlsVersion")] public Input? MinimalTlsVersion { get; set; } @@ -733,6 +737,8 @@ public InputList IpRangeFilters /// /// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + /// + /// > **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 details. /// [Input("minimalTlsVersion")] public Input? MinimalTlsVersion { get; set; } diff --git a/sdk/dotnet/DataBricks/WorkspaceCustomerManagedKey.cs b/sdk/dotnet/DataBricks/WorkspaceCustomerManagedKey.cs new file mode 100644 index 0000000000..a7d0ade9c1 --- /dev/null +++ b/sdk/dotnet/DataBricks/WorkspaceCustomerManagedKey.cs @@ -0,0 +1,110 @@ +// *** 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.DataBricks +{ + /// + /// ## Import + /// + /// Databrick Workspaces can be imported using the `resource id`, e.g. + /// + /// ```sh + /// $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 + /// ``` + /// + [AzureResourceType("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey")] + public partial class WorkspaceCustomerManagedKey : global::Pulumi.CustomResource + { + [Output("keyVaultKeyId")] + public Output KeyVaultKeyId { get; private set; } = null!; + + /// + /// The unique identifier of the databricks workspace in Databricks control plane. + /// + [Output("workspaceId")] + public Output WorkspaceId { get; private set; } = null!; + + + /// + /// Create a WorkspaceCustomerManagedKey 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 WorkspaceCustomerManagedKey(string name, WorkspaceCustomerManagedKeyArgs args, CustomResourceOptions? options = null) + : base("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", name, args ?? new WorkspaceCustomerManagedKeyArgs(), MakeResourceOptions(options, "")) + { + } + + private WorkspaceCustomerManagedKey(string name, Input id, WorkspaceCustomerManagedKeyState? state = null, CustomResourceOptions? options = null) + : base("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", 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 WorkspaceCustomerManagedKey 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 WorkspaceCustomerManagedKey Get(string name, Input id, WorkspaceCustomerManagedKeyState? state = null, CustomResourceOptions? options = null) + { + return new WorkspaceCustomerManagedKey(name, id, state, options); + } + } + + public sealed class WorkspaceCustomerManagedKeyArgs : global::Pulumi.ResourceArgs + { + [Input("keyVaultKeyId", required: true)] + public Input KeyVaultKeyId { get; set; } = null!; + + /// + /// The unique identifier of the databricks workspace in Databricks control plane. + /// + [Input("workspaceId", required: true)] + public Input WorkspaceId { get; set; } = null!; + + public WorkspaceCustomerManagedKeyArgs() + { + } + public static new WorkspaceCustomerManagedKeyArgs Empty => new WorkspaceCustomerManagedKeyArgs(); + } + + public sealed class WorkspaceCustomerManagedKeyState : global::Pulumi.ResourceArgs + { + [Input("keyVaultKeyId")] + public Input? KeyVaultKeyId { get; set; } + + /// + /// The unique identifier of the databricks workspace in Databricks control plane. + /// + [Input("workspaceId")] + public Input? WorkspaceId { get; set; } + + public WorkspaceCustomerManagedKeyState() + { + } + public static new WorkspaceCustomerManagedKeyState Empty => new WorkspaceCustomerManagedKeyState(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityArgs.cs new file mode 100644 index 0000000000..ca09b26b5c --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityArgs.cs @@ -0,0 +1,46 @@ +// *** 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.EventGrid.Inputs +{ + + public sealed class NamespaceIdentityArgs : global::Pulumi.ResourceArgs + { + [Input("identityIds")] + private InputList? _identityIds; + + /// + /// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + /// + /// > **NOTE:** This is required when `type` is set to `UserAssigned` + /// + public InputList IdentityIds + { + get => _identityIds ?? (_identityIds = new InputList()); + set => _identityIds = value; + } + + [Input("principalId")] + public Input? PrincipalId { get; set; } + + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public NamespaceIdentityArgs() + { + } + public static new NamespaceIdentityArgs Empty => new NamespaceIdentityArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityGetArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityGetArgs.cs new file mode 100644 index 0000000000..5e7472eadd --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceIdentityGetArgs.cs @@ -0,0 +1,46 @@ +// *** 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.EventGrid.Inputs +{ + + public sealed class NamespaceIdentityGetArgs : global::Pulumi.ResourceArgs + { + [Input("identityIds")] + private InputList? _identityIds; + + /// + /// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + /// + /// > **NOTE:** This is required when `type` is set to `UserAssigned` + /// + public InputList IdentityIds + { + get => _identityIds ?? (_identityIds = new InputList()); + set => _identityIds = value; + } + + [Input("principalId")] + public Input? PrincipalId { get; set; } + + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public NamespaceIdentityGetArgs() + { + } + public static new NamespaceIdentityGetArgs Empty => new NamespaceIdentityGetArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleArgs.cs new file mode 100644 index 0000000000..2fe926875a --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceInboundIpRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + /// + [Input("action")] + public Input? Action { get; set; } + + /// + /// The IP mask (CIDR) to match on. + /// + [Input("ipMask", required: true)] + public Input IpMask { get; set; } = null!; + + public NamespaceInboundIpRuleArgs() + { + } + public static new NamespaceInboundIpRuleArgs Empty => new NamespaceInboundIpRuleArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleGetArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleGetArgs.cs new file mode 100644 index 0000000000..580fdd6e68 --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceInboundIpRuleGetArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceInboundIpRuleGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + /// + [Input("action")] + public Input? Action { get; set; } + + /// + /// The IP mask (CIDR) to match on. + /// + [Input("ipMask", required: true)] + public Input IpMask { get; set; } = null!; + + public NamespaceInboundIpRuleGetArgs() + { + } + public static new NamespaceInboundIpRuleGetArgs Empty => new NamespaceInboundIpRuleGetArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationArgs.cs new file mode 100644 index 0000000000..4777a8d26b --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationArgs.cs @@ -0,0 +1,74 @@ +// *** 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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("alternativeAuthenticationNameSources")] + private InputList? _alternativeAuthenticationNameSources; + + /// + /// Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + /// + public InputList AlternativeAuthenticationNameSources + { + get => _alternativeAuthenticationNameSources ?? (_alternativeAuthenticationNameSources = new InputList()); + set => _alternativeAuthenticationNameSources = value; + } + + [Input("dynamicRoutingEnrichments")] + private InputList? _dynamicRoutingEnrichments; + + /// + /// One or more `dynamic_routing_enrichment` blocks as defined below. + /// + public InputList DynamicRoutingEnrichments + { + get => _dynamicRoutingEnrichments ?? (_dynamicRoutingEnrichments = new InputList()); + set => _dynamicRoutingEnrichments = value; + } + + /// + /// Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + /// + [Input("maximumClientSessionsPerAuthenticationName")] + public Input? MaximumClientSessionsPerAuthenticationName { get; set; } + + /// + /// Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + /// + [Input("maximumSessionExpiryInHours")] + public Input? MaximumSessionExpiryInHours { get; set; } + + /// + /// Specifies the Event Grid topic resource ID to route messages to. + /// + [Input("routeTopicId")] + public Input? RouteTopicId { get; set; } + + [Input("staticRoutingEnrichments")] + private InputList? _staticRoutingEnrichments; + + /// + /// One or more `static_routing_enrichment` blocks as defined below. + /// + public InputList StaticRoutingEnrichments + { + get => _staticRoutingEnrichments ?? (_staticRoutingEnrichments = new InputList()); + set => _staticRoutingEnrichments = value; + } + + public NamespaceTopicSpacesConfigurationArgs() + { + } + public static new NamespaceTopicSpacesConfigurationArgs Empty => new NamespaceTopicSpacesConfigurationArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.cs new file mode 100644 index 0000000000..f86ec63289 --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs : global::Pulumi.ResourceArgs + { + /// + /// The enrichment key. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The enrichment value. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs() + { + } + public static new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs Empty => new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs.cs new file mode 100644 index 0000000000..9c1928baa6 --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The enrichment key. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The enrichment value. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs() + { + } + public static new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs Empty => new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentGetArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationGetArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationGetArgs.cs new file mode 100644 index 0000000000..4d38a30648 --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationGetArgs.cs @@ -0,0 +1,74 @@ +// *** 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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationGetArgs : global::Pulumi.ResourceArgs + { + [Input("alternativeAuthenticationNameSources")] + private InputList? _alternativeAuthenticationNameSources; + + /// + /// Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + /// + public InputList AlternativeAuthenticationNameSources + { + get => _alternativeAuthenticationNameSources ?? (_alternativeAuthenticationNameSources = new InputList()); + set => _alternativeAuthenticationNameSources = value; + } + + [Input("dynamicRoutingEnrichments")] + private InputList? _dynamicRoutingEnrichments; + + /// + /// One or more `dynamic_routing_enrichment` blocks as defined below. + /// + public InputList DynamicRoutingEnrichments + { + get => _dynamicRoutingEnrichments ?? (_dynamicRoutingEnrichments = new InputList()); + set => _dynamicRoutingEnrichments = value; + } + + /// + /// Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + /// + [Input("maximumClientSessionsPerAuthenticationName")] + public Input? MaximumClientSessionsPerAuthenticationName { get; set; } + + /// + /// Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + /// + [Input("maximumSessionExpiryInHours")] + public Input? MaximumSessionExpiryInHours { get; set; } + + /// + /// Specifies the Event Grid topic resource ID to route messages to. + /// + [Input("routeTopicId")] + public Input? RouteTopicId { get; set; } + + [Input("staticRoutingEnrichments")] + private InputList? _staticRoutingEnrichments; + + /// + /// One or more `static_routing_enrichment` blocks as defined below. + /// + public InputList StaticRoutingEnrichments + { + get => _staticRoutingEnrichments ?? (_staticRoutingEnrichments = new InputList()); + set => _staticRoutingEnrichments = value; + } + + public NamespaceTopicSpacesConfigurationGetArgs() + { + } + public static new NamespaceTopicSpacesConfigurationGetArgs Empty => new NamespaceTopicSpacesConfigurationGetArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.cs new file mode 100644 index 0000000000..04fe2ff1aa --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs : global::Pulumi.ResourceArgs + { + /// + /// The enrichment key. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The enrichment value. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs() + { + } + public static new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs Empty => new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs.cs b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs.cs new file mode 100644 index 0000000000..1e3caa3150 --- /dev/null +++ b/sdk/dotnet/EventGrid/Inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs.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.EventGrid.Inputs +{ + + public sealed class NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The enrichment key. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// The enrichment value. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs() + { + } + public static new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs Empty => new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentGetArgs(); + } +} diff --git a/sdk/dotnet/EventGrid/Namespace.cs b/sdk/dotnet/EventGrid/Namespace.cs new file mode 100644 index 0000000000..a2282f9b43 --- /dev/null +++ b/sdk/dotnet/EventGrid/Namespace.cs @@ -0,0 +1,331 @@ +// *** 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.EventGrid +{ + /// + /// Manages an EventGrid Namespace + /// + /// ## 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 = "West Europe", + /// }); + /// + /// var exampleNamespace = new Azure.EventGrid.Namespace("example", new() + /// { + /// Name = "my-eventgrid-namespace", + /// Location = example.Location, + /// ResourceGroupName = example.Name, + /// Tags = + /// { + /// { "environment", "Production" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// EventGrid Namespace's can be imported using the `resource id`, e.g. + /// + /// ```sh + /// $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 + /// ``` + /// + [AzureResourceType("azure:eventgrid/namespace:Namespace")] + public partial class Namespace : global::Pulumi.CustomResource + { + /// + /// Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + /// + [Output("capacity")] + public Output Capacity { get; private set; } = null!; + + /// + /// An `identity` block as defined below. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// One or more `inbound_ip_rule` blocks as defined below. + /// + [Output("inboundIpRules")] + public Output> InboundIpRules { get; private set; } = null!; + + /// + /// Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Whether or not public network access is allowed for this server. Defaults to `Enabled`. + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + /// + [Output("resourceGroupName")] + public Output ResourceGroupName { get; private set; } = null!; + + /// + /// Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// A mapping of tags to assign to the resource. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// A `topic_spaces_configuration` block as defined below. + /// + [Output("topicSpacesConfigurations")] + public Output> TopicSpacesConfigurations { get; private set; } = null!; + + + /// + /// Create a Namespace 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 Namespace(string name, NamespaceArgs args, CustomResourceOptions? options = null) + : base("azure:eventgrid/namespace:Namespace", name, args ?? new NamespaceArgs(), MakeResourceOptions(options, "")) + { + } + + private Namespace(string name, Input id, NamespaceState? state = null, CustomResourceOptions? options = null) + : base("azure:eventgrid/namespace:Namespace", 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 Namespace 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 Namespace Get(string name, Input id, NamespaceState? state = null, CustomResourceOptions? options = null) + { + return new Namespace(name, id, state, options); + } + } + + public sealed class NamespaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// An `identity` block as defined below. + /// + [Input("identity")] + public Input? Identity { get; set; } + + [Input("inboundIpRules")] + private InputList? _inboundIpRules; + + /// + /// One or more `inbound_ip_rule` blocks as defined below. + /// + public InputList InboundIpRules + { + get => _inboundIpRules ?? (_inboundIpRules = new InputList()); + set => _inboundIpRules = value; + } + + /// + /// Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Whether or not public network access is allowed for this server. Defaults to `Enabled`. + /// + [Input("publicNetworkAccess")] + public Input? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + /// + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the resource. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("topicSpacesConfigurations")] + private InputList? _topicSpacesConfigurations; + + /// + /// A `topic_spaces_configuration` block as defined below. + /// + public InputList TopicSpacesConfigurations + { + get => _topicSpacesConfigurations ?? (_topicSpacesConfigurations = new InputList()); + set => _topicSpacesConfigurations = value; + } + + public NamespaceArgs() + { + } + public static new NamespaceArgs Empty => new NamespaceArgs(); + } + + public sealed class NamespaceState : global::Pulumi.ResourceArgs + { + /// + /// Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + /// + [Input("capacity")] + public Input? Capacity { get; set; } + + /// + /// An `identity` block as defined below. + /// + [Input("identity")] + public Input? Identity { get; set; } + + [Input("inboundIpRules")] + private InputList? _inboundIpRules; + + /// + /// One or more `inbound_ip_rule` blocks as defined below. + /// + public InputList InboundIpRules + { + get => _inboundIpRules ?? (_inboundIpRules = new InputList()); + set => _inboundIpRules = value; + } + + /// + /// Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Whether or not public network access is allowed for this server. Defaults to `Enabled`. + /// + [Input("publicNetworkAccess")] + public Input? PublicNetworkAccess { get; set; } + + /// + /// The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + /// + [Input("resourceGroupName")] + public Input? ResourceGroupName { get; set; } + + /// + /// Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + /// + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// A mapping of tags to assign to the resource. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("topicSpacesConfigurations")] + private InputList? _topicSpacesConfigurations; + + /// + /// A `topic_spaces_configuration` block as defined below. + /// + public InputList TopicSpacesConfigurations + { + get => _topicSpacesConfigurations ?? (_topicSpacesConfigurations = new InputList()); + set => _topicSpacesConfigurations = value; + } + + public NamespaceState() + { + } + public static new NamespaceState Empty => new NamespaceState(); + } +} diff --git a/sdk/dotnet/EventGrid/Outputs/NamespaceIdentity.cs b/sdk/dotnet/EventGrid/Outputs/NamespaceIdentity.cs new file mode 100644 index 0000000000..f2c761cbb8 --- /dev/null +++ b/sdk/dotnet/EventGrid/Outputs/NamespaceIdentity.cs @@ -0,0 +1,45 @@ +// *** 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.EventGrid.Outputs +{ + + [OutputType] + public sealed class NamespaceIdentity + { + /// + /// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + /// + /// > **NOTE:** This is required when `type` is set to `UserAssigned` + /// + public readonly ImmutableArray IdentityIds; + public readonly string? PrincipalId; + public readonly string? TenantId; + /// + /// Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + /// + public readonly string Type; + + [OutputConstructor] + private NamespaceIdentity( + ImmutableArray identityIds, + + string? principalId, + + string? tenantId, + + string type) + { + IdentityIds = identityIds; + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + } + } +} diff --git a/sdk/dotnet/EventGrid/Outputs/NamespaceInboundIpRule.cs b/sdk/dotnet/EventGrid/Outputs/NamespaceInboundIpRule.cs new file mode 100644 index 0000000000..8a4920a79a --- /dev/null +++ b/sdk/dotnet/EventGrid/Outputs/NamespaceInboundIpRule.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.EventGrid.Outputs +{ + + [OutputType] + public sealed class NamespaceInboundIpRule + { + /// + /// The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + /// + public readonly string? Action; + /// + /// The IP mask (CIDR) to match on. + /// + public readonly string IpMask; + + [OutputConstructor] + private NamespaceInboundIpRule( + string? action, + + string ipMask) + { + Action = action; + IpMask = ipMask; + } + } +} diff --git a/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfiguration.cs b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfiguration.cs new file mode 100644 index 0000000000..dc1bacaecd --- /dev/null +++ b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfiguration.cs @@ -0,0 +1,63 @@ +// *** 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.EventGrid.Outputs +{ + + [OutputType] + public sealed class NamespaceTopicSpacesConfiguration + { + /// + /// Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + /// + public readonly ImmutableArray AlternativeAuthenticationNameSources; + /// + /// One or more `dynamic_routing_enrichment` blocks as defined below. + /// + public readonly ImmutableArray DynamicRoutingEnrichments; + /// + /// Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + /// + public readonly int? MaximumClientSessionsPerAuthenticationName; + /// + /// Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + /// + public readonly int? MaximumSessionExpiryInHours; + /// + /// Specifies the Event Grid topic resource ID to route messages to. + /// + public readonly string? RouteTopicId; + /// + /// One or more `static_routing_enrichment` blocks as defined below. + /// + public readonly ImmutableArray StaticRoutingEnrichments; + + [OutputConstructor] + private NamespaceTopicSpacesConfiguration( + ImmutableArray alternativeAuthenticationNameSources, + + ImmutableArray dynamicRoutingEnrichments, + + int? maximumClientSessionsPerAuthenticationName, + + int? maximumSessionExpiryInHours, + + string? routeTopicId, + + ImmutableArray staticRoutingEnrichments) + { + AlternativeAuthenticationNameSources = alternativeAuthenticationNameSources; + DynamicRoutingEnrichments = dynamicRoutingEnrichments; + MaximumClientSessionsPerAuthenticationName = maximumClientSessionsPerAuthenticationName; + MaximumSessionExpiryInHours = maximumSessionExpiryInHours; + RouteTopicId = routeTopicId; + StaticRoutingEnrichments = staticRoutingEnrichments; + } + } +} diff --git a/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.cs b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.cs new file mode 100644 index 0000000000..f33978ba35 --- /dev/null +++ b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.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.EventGrid.Outputs +{ + + [OutputType] + public sealed class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment + { + /// + /// The enrichment key. + /// + public readonly string Key; + /// + /// The enrichment value. + /// + public readonly string Value; + + [OutputConstructor] + private NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment( + string key, + + string value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.cs b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.cs new file mode 100644 index 0000000000..0249a66e46 --- /dev/null +++ b/sdk/dotnet/EventGrid/Outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.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.EventGrid.Outputs +{ + + [OutputType] + public sealed class NamespaceTopicSpacesConfigurationStaticRoutingEnrichment + { + /// + /// The enrichment key. + /// + public readonly string Key; + /// + /// The enrichment value. + /// + public readonly string Value; + + [OutputConstructor] + private NamespaceTopicSpacesConfigurationStaticRoutingEnrichment( + string key, + + string value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/EventHub/EventHubNamespace.cs b/sdk/dotnet/EventHub/EventHubNamespace.cs index 563821152a..ab97bac9e0 100644 --- a/sdk/dotnet/EventHub/EventHubNamespace.cs +++ b/sdk/dotnet/EventHub/EventHubNamespace.cs @@ -135,6 +135,8 @@ public partial class EventHubNamespace : global::Pulumi.CustomResource /// /// The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. /// [Output("minimumTlsVersion")] public Output MinimumTlsVersion { get; private set; } = null!; @@ -274,6 +276,8 @@ public sealed class EventHubNamespaceArgs : global::Pulumi.ResourceArgs /// /// The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } @@ -468,6 +472,8 @@ public Input? DefaultSecondaryKey /// /// The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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("minimumTlsVersion")] public Input? MinimumTlsVersion { get; set; } diff --git a/sdk/dotnet/Monitoring/AadDiagnosticSetting.cs b/sdk/dotnet/Monitoring/AadDiagnosticSetting.cs index dcc4fb63dd..5743c89aa4 100644 --- a/sdk/dotnet/Monitoring/AadDiagnosticSetting.cs +++ b/sdk/dotnet/Monitoring/AadDiagnosticSetting.cs @@ -49,38 +49,18 @@ namespace Pulumi.Azure.Monitoring /// new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs /// { /// Category = "SignInLogs", - /// RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs - /// { - /// Enabled = true, - /// Days = 1, - /// }, /// }, /// new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs /// { /// Category = "AuditLogs", - /// RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs - /// { - /// Enabled = true, - /// Days = 1, - /// }, /// }, /// new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs /// { /// Category = "NonInteractiveUserSignInLogs", - /// RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs - /// { - /// Enabled = true, - /// Days = 1, - /// }, /// }, /// new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogArgs /// { /// Category = "ServicePrincipalSignInLogs", - /// RetentionPolicy = new Azure.Monitoring.Inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs - /// { - /// Enabled = true, - /// Days = 1, - /// }, /// }, /// }, /// }); diff --git a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogArgs.cs b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogArgs.cs index 22a0416159..7a94d586f1 100644 --- a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogArgs.cs +++ b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogArgs.cs @@ -18,11 +18,8 @@ public sealed class AadDiagnosticSettingEnabledLogArgs : global::Pulumi.Resource [Input("category", required: true)] public Input Category { get; set; } = null!; - /// - /// A `retention_policy` block as defined below. - /// - [Input("retentionPolicy", required: true)] - public Input RetentionPolicy { get; set; } = null!; + [Input("retentionPolicy")] + public Input? RetentionPolicy { get; set; } public AadDiagnosticSettingEnabledLogArgs() { diff --git a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogGetArgs.cs b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogGetArgs.cs index 1b74e1f773..1b314ad9f8 100644 --- a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogGetArgs.cs +++ b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogGetArgs.cs @@ -18,11 +18,8 @@ public sealed class AadDiagnosticSettingEnabledLogGetArgs : global::Pulumi.Resou [Input("category", required: true)] public Input Category { get; set; } = null!; - /// - /// A `retention_policy` block as defined below. - /// - [Input("retentionPolicy", required: true)] - public Input RetentionPolicy { get; set; } = null!; + [Input("retentionPolicy")] + public Input? RetentionPolicy { get; set; } public AadDiagnosticSettingEnabledLogGetArgs() { diff --git a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.cs b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.cs index 3a8dc06336..a93f21d47b 100644 --- a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.cs +++ b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.cs @@ -12,15 +12,9 @@ namespace Pulumi.Azure.Monitoring.Inputs public sealed class AadDiagnosticSettingEnabledLogRetentionPolicyArgs : global::Pulumi.ResourceArgs { - /// - /// The number of days for which this Retention Policy should apply. Defaults to `0`. - /// [Input("days")] public Input? Days { get; set; } - /// - /// Is this Retention Policy enabled? Defaults to `false`. - /// [Input("enabled")] public Input? Enabled { get; set; } diff --git a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyGetArgs.cs b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyGetArgs.cs index b4901d3a31..784f0d7766 100644 --- a/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyGetArgs.cs +++ b/sdk/dotnet/Monitoring/Inputs/AadDiagnosticSettingEnabledLogRetentionPolicyGetArgs.cs @@ -12,15 +12,9 @@ namespace Pulumi.Azure.Monitoring.Inputs public sealed class AadDiagnosticSettingEnabledLogRetentionPolicyGetArgs : global::Pulumi.ResourceArgs { - /// - /// The number of days for which this Retention Policy should apply. Defaults to `0`. - /// [Input("days")] public Input? Days { get; set; } - /// - /// Is this Retention Policy enabled? Defaults to `false`. - /// [Input("enabled")] public Input? Enabled { get; set; } diff --git a/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLog.cs b/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLog.cs index 6653deb9ad..18fa7386bd 100644 --- a/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLog.cs +++ b/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLog.cs @@ -17,16 +17,13 @@ public sealed class AadDiagnosticSettingEnabledLog /// The log category for the Azure Active Directory Diagnostic. /// public readonly string Category; - /// - /// A `retention_policy` block as defined below. - /// - public readonly Outputs.AadDiagnosticSettingEnabledLogRetentionPolicy RetentionPolicy; + public readonly Outputs.AadDiagnosticSettingEnabledLogRetentionPolicy? RetentionPolicy; [OutputConstructor] private AadDiagnosticSettingEnabledLog( string category, - Outputs.AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy) + Outputs.AadDiagnosticSettingEnabledLogRetentionPolicy? retentionPolicy) { Category = category; RetentionPolicy = retentionPolicy; diff --git a/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.cs b/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.cs index 8d2e6312dc..18a1c786c6 100644 --- a/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.cs +++ b/sdk/dotnet/Monitoring/Outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.cs @@ -13,13 +13,7 @@ namespace Pulumi.Azure.Monitoring.Outputs [OutputType] public sealed class AadDiagnosticSettingEnabledLogRetentionPolicy { - /// - /// The number of days for which this Retention Policy should apply. Defaults to `0`. - /// public readonly int? Days; - /// - /// Is this Retention Policy enabled? Defaults to `false`. - /// public readonly bool? Enabled; [OutputConstructor] diff --git a/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationArgs.cs b/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationArgs.cs index 66bb512cab..5f17dc6340 100644 --- a/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationArgs.cs +++ b/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationArgs.cs @@ -73,7 +73,7 @@ public InputList Exclusi public Input? RuleSetType { get; set; } /// - /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// [Input("ruleSetVersion", required: true)] public Input RuleSetVersion { get; set; } = null!; diff --git a/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationGetArgs.cs b/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationGetArgs.cs index 5c35bbfd21..26c340b4aa 100644 --- a/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationGetArgs.cs +++ b/sdk/dotnet/Network/Inputs/ApplicationGatewayWafConfigurationGetArgs.cs @@ -73,7 +73,7 @@ public InputList Excl public Input? RuleSetType { get; set; } /// - /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// [Input("ruleSetVersion", required: true)] public Input RuleSetVersion { get; set; } = null!; diff --git a/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationArgs.cs b/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationArgs.cs index 49cbe45804..a2a6af60ae 100644 --- a/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationArgs.cs +++ b/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationArgs.cs @@ -27,7 +27,7 @@ public InputList Actions } /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationGetArgs.cs b/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationGetArgs.cs index fe3ac9d2b6..592afdcfa1 100644 --- a/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationGetArgs.cs +++ b/sdk/dotnet/Network/Inputs/SubnetDelegationServiceDelegationGetArgs.cs @@ -27,7 +27,7 @@ public InputList Actions } /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.cs b/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.cs index 4e0aa26bf1..124c30d88d 100644 --- a/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.cs +++ b/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.cs @@ -27,7 +27,7 @@ public InputList Actions } /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationGetArgs.cs b/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationGetArgs.cs index 79ebbb14dc..da932f9390 100644 --- a/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationGetArgs.cs +++ b/sdk/dotnet/Network/Inputs/VirtualNetworkSubnetDelegationServiceDelegationGetArgs.cs @@ -27,7 +27,7 @@ public InputList Actions } /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Network/NetworkManager.cs b/sdk/dotnet/Network/NetworkManager.cs index 3ebc1f930a..b2844dac4b 100644 --- a/sdk/dotnet/Network/NetworkManager.cs +++ b/sdk/dotnet/Network/NetworkManager.cs @@ -105,7 +105,7 @@ public partial class NetworkManager : global::Pulumi.CustomResource public Output Scope { get; private set; } = null!; /// - /// A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + /// A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. /// [Output("scopeAccesses")] public Output> ScopeAccesses { get; private set; } = null!; @@ -196,7 +196,7 @@ public sealed class NetworkManagerArgs : global::Pulumi.ResourceArgs private InputList? _scopeAccesses; /// - /// A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + /// A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. /// public InputList ScopeAccesses { @@ -270,7 +270,7 @@ public InputList CrossTenantScopes private InputList? _scopeAccesses; /// - /// A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + /// A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. /// public InputList ScopeAccesses { diff --git a/sdk/dotnet/Network/NetworkWatcherFlowLog.cs b/sdk/dotnet/Network/NetworkWatcherFlowLog.cs index 74215d98b6..63b246ebd2 100644 --- a/sdk/dotnet/Network/NetworkWatcherFlowLog.cs +++ b/sdk/dotnet/Network/NetworkWatcherFlowLog.cs @@ -43,9 +43,6 @@ public partial class NetworkWatcherFlowLog : global::Pulumi.CustomResource [Output("name")] public Output Name { get; private set; } = null!; - /// - /// The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - /// [Output("networkSecurityGroupId")] public Output NetworkSecurityGroupId { get; private set; } = null!; @@ -79,6 +76,12 @@ public partial class NetworkWatcherFlowLog : global::Pulumi.CustomResource [Output("tags")] public Output?> Tags { get; private set; } = null!; + /// + /// The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + /// + [Output("targetResourceId")] + public Output TargetResourceId { get; private set; } = null!; + /// /// A `traffic_analytics` block as documented below. /// @@ -155,11 +158,8 @@ public sealed class NetworkWatcherFlowLogArgs : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } - /// - /// The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - /// - [Input("networkSecurityGroupId", required: true)] - public Input NetworkSecurityGroupId { get; set; } = null!; + [Input("networkSecurityGroupId")] + public Input? NetworkSecurityGroupId { get; set; } /// /// The name of the Network Watcher. Changing this forces a new resource to be created. @@ -197,6 +197,12 @@ public InputMap Tags set => _tags = value; } + /// + /// The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + /// + [Input("targetResourceId")] + public Input? TargetResourceId { get; set; } + /// /// A `traffic_analytics` block as documented below. /// @@ -235,9 +241,6 @@ public sealed class NetworkWatcherFlowLogState : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } - /// - /// The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - /// [Input("networkSecurityGroupId")] public Input? NetworkSecurityGroupId { get; set; } @@ -277,6 +280,12 @@ public InputMap Tags set => _tags = value; } + /// + /// The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + /// + [Input("targetResourceId")] + public Input? TargetResourceId { get; set; } + /// /// A `traffic_analytics` block as documented below. /// diff --git a/sdk/dotnet/Network/Outputs/ApplicationGatewayWafConfiguration.cs b/sdk/dotnet/Network/Outputs/ApplicationGatewayWafConfiguration.cs index 325c2c9cc5..0759bb9ada 100644 --- a/sdk/dotnet/Network/Outputs/ApplicationGatewayWafConfiguration.cs +++ b/sdk/dotnet/Network/Outputs/ApplicationGatewayWafConfiguration.cs @@ -46,7 +46,7 @@ public sealed class ApplicationGatewayWafConfiguration /// public readonly string? RuleSetType; /// - /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// public readonly string RuleSetVersion; diff --git a/sdk/dotnet/Network/Outputs/SubnetDelegationServiceDelegation.cs b/sdk/dotnet/Network/Outputs/SubnetDelegationServiceDelegation.cs index d6b547234b..d17ded3e2d 100644 --- a/sdk/dotnet/Network/Outputs/SubnetDelegationServiceDelegation.cs +++ b/sdk/dotnet/Network/Outputs/SubnetDelegationServiceDelegation.cs @@ -20,7 +20,7 @@ public sealed class SubnetDelegationServiceDelegation /// public readonly ImmutableArray Actions; /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// public readonly string Name; diff --git a/sdk/dotnet/Network/Outputs/VirtualNetworkSubnetDelegationServiceDelegation.cs b/sdk/dotnet/Network/Outputs/VirtualNetworkSubnetDelegationServiceDelegation.cs index ad703c09f4..3fa1a36ef5 100644 --- a/sdk/dotnet/Network/Outputs/VirtualNetworkSubnetDelegationServiceDelegation.cs +++ b/sdk/dotnet/Network/Outputs/VirtualNetworkSubnetDelegationServiceDelegation.cs @@ -20,7 +20,7 @@ public sealed class VirtualNetworkSubnetDelegationServiceDelegation /// public readonly ImmutableArray Actions; /// - /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + /// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. /// public readonly string Name; diff --git a/sdk/dotnet/Network/VirtualNetworkGateway.cs b/sdk/dotnet/Network/VirtualNetworkGateway.cs index da0d829f9c..3d3fb880b8 100644 --- a/sdk/dotnet/Network/VirtualNetworkGateway.cs +++ b/sdk/dotnet/Network/VirtualNetworkGateway.cs @@ -196,7 +196,7 @@ public partial class VirtualNetworkGateway : global::Pulumi.CustomResource public Output Generation { get; private set; } = null!; /// - /// One or more (up to 3) `ip_configuration` blocks documented below. + /// One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. /// An active-standby gateway requires exactly one `ip_configuration` block, /// an active-active gateway requires exactly two `ip_configuration` blocks whereas /// an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -392,7 +392,7 @@ public sealed class VirtualNetworkGatewayArgs : global::Pulumi.ResourceArgs private InputList? _ipConfigurations; /// - /// One or more (up to 3) `ip_configuration` blocks documented below. + /// One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. /// An active-standby gateway requires exactly one `ip_configuration` block, /// an active-active gateway requires exactly two `ip_configuration` blocks whereas /// an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -565,7 +565,7 @@ public sealed class VirtualNetworkGatewayState : global::Pulumi.ResourceArgs private InputList? _ipConfigurations; /// - /// One or more (up to 3) `ip_configuration` blocks documented below. + /// One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. /// An active-standby gateway requires exactly one `ip_configuration` block, /// an active-active gateway requires exactly two `ip_configuration` blocks whereas /// an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. diff --git a/sdk/dotnet/Role/Assignment.cs b/sdk/dotnet/Role/Assignment.cs index b6573dba39..eb9856ed52 100644 --- a/sdk/dotnet/Role/Assignment.cs +++ b/sdk/dotnet/Role/Assignment.cs @@ -280,7 +280,7 @@ public partial class Assignment : global::Pulumi.CustomResource /// The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. /// [Output("conditionVersion")] - public Output ConditionVersion { get; private set; } = null!; + public Output ConditionVersion { get; private set; } = null!; /// /// The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/dotnet/SecurityCenter/AutoProvisioning.cs b/sdk/dotnet/SecurityCenter/AutoProvisioning.cs index 3dab366c09..8175ada905 100644 --- a/sdk/dotnet/SecurityCenter/AutoProvisioning.cs +++ b/sdk/dotnet/SecurityCenter/AutoProvisioning.cs @@ -12,6 +12,8 @@ namespace Pulumi.Azure.SecurityCenter /// /// Enables or disables the Security Center Auto Provisioning feature for the subscription /// + /// > **Note:** The `azure.securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. + /// /// > **NOTE:** There is no resource name required, it will always be "default" /// /// ## Example Usage diff --git a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.cs b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.cs index 46dacd4ebd..feefee6162 100644 --- a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.cs +++ b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.cs @@ -31,7 +31,7 @@ public InputList public Input? Type { get; set; } /// - /// The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + /// The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. /// [Input("version")] public Input? Version { get; set; } diff --git a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetGetArgs.cs b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetGetArgs.cs index 81727e9f34..3cbe0a5fa8 100644 --- a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetGetArgs.cs +++ b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesExclusionExcludedRuleSetGetArgs.cs @@ -31,7 +31,7 @@ public InputList? Type { get; set; } /// - /// The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + /// The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. /// [Input("version")] public Input? Version { get; set; } diff --git a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetArgs.cs b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetArgs.cs index 91a66904f4..12c5592ae9 100644 --- a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetArgs.cs +++ b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetArgs.cs @@ -31,7 +31,7 @@ public InputList R public Input? Type { get; set; } /// - /// The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// [Input("version", required: true)] public Input Version { get; set; } = null!; diff --git a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetGetArgs.cs b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetGetArgs.cs index 34666c4d82..884ce3c7e8 100644 --- a/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetGetArgs.cs +++ b/sdk/dotnet/Waf/Inputs/PolicyManagedRulesManagedRuleSetGetArgs.cs @@ -31,7 +31,7 @@ public InputList? Type { get; set; } /// - /// The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// [Input("version", required: true)] public Input Version { get; set; } = null!; diff --git a/sdk/dotnet/Waf/Outputs/PolicyManagedRulesExclusionExcludedRuleSet.cs b/sdk/dotnet/Waf/Outputs/PolicyManagedRulesExclusionExcludedRuleSet.cs index e423771c7c..bf0b70a3ef 100644 --- a/sdk/dotnet/Waf/Outputs/PolicyManagedRulesExclusionExcludedRuleSet.cs +++ b/sdk/dotnet/Waf/Outputs/PolicyManagedRulesExclusionExcludedRuleSet.cs @@ -22,7 +22,7 @@ public sealed class PolicyManagedRulesExclusionExcludedRuleSet /// public readonly string? Type; /// - /// The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + /// The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. /// public readonly string? Version; diff --git a/sdk/dotnet/Waf/Outputs/PolicyManagedRulesManagedRuleSet.cs b/sdk/dotnet/Waf/Outputs/PolicyManagedRulesManagedRuleSet.cs index 45c174f2fa..6be0313537 100644 --- a/sdk/dotnet/Waf/Outputs/PolicyManagedRulesManagedRuleSet.cs +++ b/sdk/dotnet/Waf/Outputs/PolicyManagedRulesManagedRuleSet.cs @@ -22,7 +22,7 @@ public sealed class PolicyManagedRulesManagedRuleSet /// public readonly string? Type; /// - /// The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + /// The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. /// public readonly string Version; diff --git a/sdk/go/azure/apimanagement/api.go b/sdk/go/azure/apimanagement/api.go index fda90f47b4..b41180353f 100644 --- a/sdk/go/azure/apimanagement/api.go +++ b/sdk/go/azure/apimanagement/api.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_schema_swagger.json"), // }, // }) // if err != nil { diff --git a/sdk/go/azure/apimanagement/pulumiTypes.go b/sdk/go/azure/apimanagement/pulumiTypes.go index 3c3fe56185..340d01be79 100644 --- a/sdk/go/azure/apimanagement/pulumiTypes.go +++ b/sdk/go/azure/apimanagement/pulumiTypes.go @@ -2379,7 +2379,7 @@ func (o ApiDiagnosticFrontendResponseDataMaskingQueryParamArrayOutput) Index(i p type ApiImport struct { // The format of the content from which the API Definition should be imported. Possible values are: `openapi`, `openapi+json`, `openapi+json-link`, `openapi-link`, `swagger-json`, `swagger-link-json`, `wadl-link-json`, `wadl-xml`, `wsdl` and `wsdl-link`. ContentFormat string `pulumi:"contentFormat"` - // The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + // The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. ContentValue string `pulumi:"contentValue"` // A `wsdlSelector` block as defined below, which allows you to limit the import of a WSDL to only a subset of the document. This can only be specified when `contentFormat` is `wsdl` or `wsdl-link`. WsdlSelector *ApiImportWsdlSelector `pulumi:"wsdlSelector"` @@ -2399,7 +2399,7 @@ type ApiImportInput interface { type ApiImportArgs struct { // The format of the content from which the API Definition should be imported. Possible values are: `openapi`, `openapi+json`, `openapi+json-link`, `openapi-link`, `swagger-json`, `swagger-link-json`, `wadl-link-json`, `wadl-xml`, `wsdl` and `wsdl-link`. ContentFormat pulumi.StringInput `pulumi:"contentFormat"` - // The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + // The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. ContentValue pulumi.StringInput `pulumi:"contentValue"` // A `wsdlSelector` block as defined below, which allows you to limit the import of a WSDL to only a subset of the document. This can only be specified when `contentFormat` is `wsdl` or `wsdl-link`. WsdlSelector ApiImportWsdlSelectorPtrInput `pulumi:"wsdlSelector"` @@ -2487,7 +2487,7 @@ func (o ApiImportOutput) ContentFormat() pulumi.StringOutput { return o.ApplyT(func(v ApiImport) string { return v.ContentFormat }).(pulumi.StringOutput) } -// The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. +// The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. func (o ApiImportOutput) ContentValue() pulumi.StringOutput { return o.ApplyT(func(v ApiImport) string { return v.ContentValue }).(pulumi.StringOutput) } @@ -2531,7 +2531,7 @@ func (o ApiImportPtrOutput) ContentFormat() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. +// The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. func (o ApiImportPtrOutput) ContentValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *ApiImport) *string { if v == nil { diff --git a/sdk/go/azure/arcmachine/arcMachine.go b/sdk/go/azure/arcmachine/arcMachine.go index 1c84c5abbf..e6e518f509 100644 --- a/sdk/go/azure/arcmachine/arcMachine.go +++ b/sdk/go/azure/arcmachine/arcMachine.go @@ -41,6 +41,12 @@ import ( // ResourceGroupName: example.Name, // Location: example.Location, // Kind: pulumi.String("SCVMM"), +// Identity: &arcmachine.ArcMachineIdentityArgs{ +// Type: pulumi.String("SystemAssigned"), +// }, +// Tags: pulumi.StringMap{ +// "environment": pulumi.String("example"), +// }, // }) // if err != nil { // return err @@ -61,6 +67,8 @@ import ( type ArcMachine struct { pulumi.CustomResourceState + // An `identity` block as defined below. + Identity ArcMachineIdentityPtrOutput `pulumi:"identity"` // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. Kind pulumi.StringOutput `pulumi:"kind"` // The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. @@ -69,6 +77,8 @@ type ArcMachine struct { Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` + // A mapping of tags to assign to the Arc Machine. + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewArcMachine registers a new resource with the given unique name, arguments, and options. @@ -107,6 +117,8 @@ func GetArcMachine(ctx *pulumi.Context, // Input properties used for looking up and filtering ArcMachine resources. type arcMachineState struct { + // An `identity` block as defined below. + Identity *ArcMachineIdentity `pulumi:"identity"` // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. Kind *string `pulumi:"kind"` // The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. @@ -115,9 +127,13 @@ type arcMachineState struct { Name *string `pulumi:"name"` // The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. ResourceGroupName *string `pulumi:"resourceGroupName"` + // A mapping of tags to assign to the Arc Machine. + Tags map[string]string `pulumi:"tags"` } type ArcMachineState struct { + // An `identity` block as defined below. + Identity ArcMachineIdentityPtrInput // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. Kind pulumi.StringPtrInput // The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. @@ -126,6 +142,8 @@ type ArcMachineState struct { Name pulumi.StringPtrInput // The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput + // A mapping of tags to assign to the Arc Machine. + Tags pulumi.StringMapInput } func (ArcMachineState) ElementType() reflect.Type { @@ -133,6 +151,8 @@ func (ArcMachineState) ElementType() reflect.Type { } type arcMachineArgs struct { + // An `identity` block as defined below. + Identity *ArcMachineIdentity `pulumi:"identity"` // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. Kind string `pulumi:"kind"` // The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. @@ -141,10 +161,14 @@ type arcMachineArgs struct { Name *string `pulumi:"name"` // The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. ResourceGroupName string `pulumi:"resourceGroupName"` + // A mapping of tags to assign to the Arc Machine. + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a ArcMachine resource. type ArcMachineArgs struct { + // An `identity` block as defined below. + Identity ArcMachineIdentityPtrInput // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. Kind pulumi.StringInput // The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. @@ -153,6 +177,8 @@ type ArcMachineArgs struct { Name pulumi.StringPtrInput // The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput + // A mapping of tags to assign to the Arc Machine. + Tags pulumi.StringMapInput } func (ArcMachineArgs) ElementType() reflect.Type { @@ -242,6 +268,11 @@ func (o ArcMachineOutput) ToArcMachineOutputWithContext(ctx context.Context) Arc return o } +// An `identity` block as defined below. +func (o ArcMachineOutput) Identity() ArcMachineIdentityPtrOutput { + return o.ApplyT(func(v *ArcMachine) ArcMachineIdentityPtrOutput { return v.Identity }).(ArcMachineIdentityPtrOutput) +} + // The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. func (o ArcMachineOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v *ArcMachine) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) @@ -262,6 +293,11 @@ func (o ArcMachineOutput) ResourceGroupName() pulumi.StringOutput { return o.ApplyT(func(v *ArcMachine) pulumi.StringOutput { return v.ResourceGroupName }).(pulumi.StringOutput) } +// A mapping of tags to assign to the Arc Machine. +func (o ArcMachineOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ArcMachine) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + type ArcMachineArrayOutput struct{ *pulumi.OutputState } func (ArcMachineArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/azure/arcmachine/pulumiTypes.go b/sdk/go/azure/arcmachine/pulumiTypes.go index cf4bc4d6e4..706faac031 100644 --- a/sdk/go/azure/arcmachine/pulumiTypes.go +++ b/sdk/go/azure/arcmachine/pulumiTypes.go @@ -13,6 +13,181 @@ import ( var _ = internal.GetEnvOrDefault +type ArcMachineIdentity struct { + // The Principal ID associated with this Managed Service Identity. + PrincipalId *string `pulumi:"principalId"` + // The Tenant ID associated with this Managed Service Identity. + TenantId *string `pulumi:"tenantId"` + // Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + Type string `pulumi:"type"` +} + +// ArcMachineIdentityInput is an input type that accepts ArcMachineIdentityArgs and ArcMachineIdentityOutput values. +// You can construct a concrete instance of `ArcMachineIdentityInput` via: +// +// ArcMachineIdentityArgs{...} +type ArcMachineIdentityInput interface { + pulumi.Input + + ToArcMachineIdentityOutput() ArcMachineIdentityOutput + ToArcMachineIdentityOutputWithContext(context.Context) ArcMachineIdentityOutput +} + +type ArcMachineIdentityArgs struct { + // The Principal ID associated with this Managed Service Identity. + PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` + // The Tenant ID associated with this Managed Service Identity. + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + // Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + Type pulumi.StringInput `pulumi:"type"` +} + +func (ArcMachineIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ArcMachineIdentity)(nil)).Elem() +} + +func (i ArcMachineIdentityArgs) ToArcMachineIdentityOutput() ArcMachineIdentityOutput { + return i.ToArcMachineIdentityOutputWithContext(context.Background()) +} + +func (i ArcMachineIdentityArgs) ToArcMachineIdentityOutputWithContext(ctx context.Context) ArcMachineIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(ArcMachineIdentityOutput) +} + +func (i ArcMachineIdentityArgs) ToArcMachineIdentityPtrOutput() ArcMachineIdentityPtrOutput { + return i.ToArcMachineIdentityPtrOutputWithContext(context.Background()) +} + +func (i ArcMachineIdentityArgs) ToArcMachineIdentityPtrOutputWithContext(ctx context.Context) ArcMachineIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ArcMachineIdentityOutput).ToArcMachineIdentityPtrOutputWithContext(ctx) +} + +// ArcMachineIdentityPtrInput is an input type that accepts ArcMachineIdentityArgs, ArcMachineIdentityPtr and ArcMachineIdentityPtrOutput values. +// You can construct a concrete instance of `ArcMachineIdentityPtrInput` via: +// +// ArcMachineIdentityArgs{...} +// +// or: +// +// nil +type ArcMachineIdentityPtrInput interface { + pulumi.Input + + ToArcMachineIdentityPtrOutput() ArcMachineIdentityPtrOutput + ToArcMachineIdentityPtrOutputWithContext(context.Context) ArcMachineIdentityPtrOutput +} + +type arcMachineIdentityPtrType ArcMachineIdentityArgs + +func ArcMachineIdentityPtr(v *ArcMachineIdentityArgs) ArcMachineIdentityPtrInput { + return (*arcMachineIdentityPtrType)(v) +} + +func (*arcMachineIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ArcMachineIdentity)(nil)).Elem() +} + +func (i *arcMachineIdentityPtrType) ToArcMachineIdentityPtrOutput() ArcMachineIdentityPtrOutput { + return i.ToArcMachineIdentityPtrOutputWithContext(context.Background()) +} + +func (i *arcMachineIdentityPtrType) ToArcMachineIdentityPtrOutputWithContext(ctx context.Context) ArcMachineIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ArcMachineIdentityPtrOutput) +} + +type ArcMachineIdentityOutput struct{ *pulumi.OutputState } + +func (ArcMachineIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ArcMachineIdentity)(nil)).Elem() +} + +func (o ArcMachineIdentityOutput) ToArcMachineIdentityOutput() ArcMachineIdentityOutput { + return o +} + +func (o ArcMachineIdentityOutput) ToArcMachineIdentityOutputWithContext(ctx context.Context) ArcMachineIdentityOutput { + return o +} + +func (o ArcMachineIdentityOutput) ToArcMachineIdentityPtrOutput() ArcMachineIdentityPtrOutput { + return o.ToArcMachineIdentityPtrOutputWithContext(context.Background()) +} + +func (o ArcMachineIdentityOutput) ToArcMachineIdentityPtrOutputWithContext(ctx context.Context) ArcMachineIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ArcMachineIdentity) *ArcMachineIdentity { + return &v + }).(ArcMachineIdentityPtrOutput) +} + +// The Principal ID associated with this Managed Service Identity. +func (o ArcMachineIdentityOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ArcMachineIdentity) *string { return v.PrincipalId }).(pulumi.StringPtrOutput) +} + +// The Tenant ID associated with this Managed Service Identity. +func (o ArcMachineIdentityOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ArcMachineIdentity) *string { return v.TenantId }).(pulumi.StringPtrOutput) +} + +// Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. +func (o ArcMachineIdentityOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ArcMachineIdentity) string { return v.Type }).(pulumi.StringOutput) +} + +type ArcMachineIdentityPtrOutput struct{ *pulumi.OutputState } + +func (ArcMachineIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ArcMachineIdentity)(nil)).Elem() +} + +func (o ArcMachineIdentityPtrOutput) ToArcMachineIdentityPtrOutput() ArcMachineIdentityPtrOutput { + return o +} + +func (o ArcMachineIdentityPtrOutput) ToArcMachineIdentityPtrOutputWithContext(ctx context.Context) ArcMachineIdentityPtrOutput { + return o +} + +func (o ArcMachineIdentityPtrOutput) Elem() ArcMachineIdentityOutput { + return o.ApplyT(func(v *ArcMachineIdentity) ArcMachineIdentity { + if v != nil { + return *v + } + var ret ArcMachineIdentity + return ret + }).(ArcMachineIdentityOutput) +} + +// The Principal ID associated with this Managed Service Identity. +func (o ArcMachineIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ArcMachineIdentity) *string { + if v == nil { + return nil + } + return v.PrincipalId + }).(pulumi.StringPtrOutput) +} + +// The Tenant ID associated with this Managed Service Identity. +func (o ArcMachineIdentityPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ArcMachineIdentity) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) +} + +// Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. +func (o ArcMachineIdentityPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ArcMachineIdentity) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + type GetAgent struct { // A `extensionsAllowList` block as defined below. ExtensionsAllowLists []GetAgentExtensionsAllowList `pulumi:"extensionsAllowLists"` @@ -1554,6 +1729,8 @@ func (o GetServiceStatusGuestConfigurationServiceArrayOutput) Index(i pulumi.Int } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ArcMachineIdentityInput)(nil)).Elem(), ArcMachineIdentityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ArcMachineIdentityPtrInput)(nil)).Elem(), ArcMachineIdentityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAgentInput)(nil)).Elem(), GetAgentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAgentArrayInput)(nil)).Elem(), GetAgentArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAgentExtensionsAllowListInput)(nil)).Elem(), GetAgentExtensionsAllowListArgs{}) @@ -1582,6 +1759,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetServiceStatusExtensionServiceArrayInput)(nil)).Elem(), GetServiceStatusExtensionServiceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceStatusGuestConfigurationServiceInput)(nil)).Elem(), GetServiceStatusGuestConfigurationServiceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceStatusGuestConfigurationServiceArrayInput)(nil)).Elem(), GetServiceStatusGuestConfigurationServiceArray{}) + pulumi.RegisterOutputType(ArcMachineIdentityOutput{}) + pulumi.RegisterOutputType(ArcMachineIdentityPtrOutput{}) pulumi.RegisterOutputType(GetAgentOutput{}) pulumi.RegisterOutputType(GetAgentArrayOutput{}) pulumi.RegisterOutputType(GetAgentExtensionsAllowListOutput{}) diff --git a/sdk/go/azure/authorization/assignment.go b/sdk/go/azure/authorization/assignment.go index ce774868c8..1eaf8ece76 100644 --- a/sdk/go/azure/authorization/assignment.go +++ b/sdk/go/azure/authorization/assignment.go @@ -339,7 +339,7 @@ type Assignment struct { // The condition that limits the resources that the role can be assigned to. Changing this forces a new resource to be created. Condition pulumi.StringPtrOutput `pulumi:"condition"` // The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. - ConditionVersion pulumi.StringPtrOutput `pulumi:"conditionVersion"` + ConditionVersion pulumi.StringOutput `pulumi:"conditionVersion"` // The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. // // > **NOTE:** this field is only used in cross tenant scenario. @@ -639,8 +639,8 @@ func (o AssignmentOutput) Condition() pulumi.StringPtrOutput { } // The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. -func (o AssignmentOutput) ConditionVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Assignment) pulumi.StringPtrOutput { return v.ConditionVersion }).(pulumi.StringPtrOutput) +func (o AssignmentOutput) ConditionVersion() pulumi.StringOutput { + return o.ApplyT(func(v *Assignment) pulumi.StringOutput { return v.ConditionVersion }).(pulumi.StringOutput) } // The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/go/azure/cosmosdb/account.go b/sdk/go/azure/cosmosdb/account.go index 411b87fbbd..f8ab5889dd 100644 --- a/sdk/go/azure/cosmosdb/account.go +++ b/sdk/go/azure/cosmosdb/account.go @@ -205,6 +205,8 @@ type Account struct { Location pulumi.StringOutput `pulumi:"location"` ManagedHsmKeyId pulumi.StringPtrOutput `pulumi:"managedHsmKeyId"` // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + // + // > **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 details. MinimalTlsVersion pulumi.StringPtrOutput `pulumi:"minimalTlsVersion"` MongoServerVersion pulumi.StringOutput `pulumi:"mongoServerVersion"` MultipleWriteLocationsEnabled pulumi.BoolPtrOutput `pulumi:"multipleWriteLocationsEnabled"` @@ -341,6 +343,8 @@ type accountState struct { Location *string `pulumi:"location"` ManagedHsmKeyId *string `pulumi:"managedHsmKeyId"` // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + // + // > **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 details. MinimalTlsVersion *string `pulumi:"minimalTlsVersion"` MongoServerVersion *string `pulumi:"mongoServerVersion"` MultipleWriteLocationsEnabled *bool `pulumi:"multipleWriteLocationsEnabled"` @@ -421,6 +425,8 @@ type AccountState struct { Location pulumi.StringPtrInput ManagedHsmKeyId pulumi.StringPtrInput // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + // + // > **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 details. MinimalTlsVersion pulumi.StringPtrInput MongoServerVersion pulumi.StringPtrInput MultipleWriteLocationsEnabled pulumi.BoolPtrInput @@ -503,6 +509,8 @@ type accountArgs struct { Location *string `pulumi:"location"` ManagedHsmKeyId *string `pulumi:"managedHsmKeyId"` // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + // + // > **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 details. MinimalTlsVersion *string `pulumi:"minimalTlsVersion"` MongoServerVersion *string `pulumi:"mongoServerVersion"` MultipleWriteLocationsEnabled *bool `pulumi:"multipleWriteLocationsEnabled"` @@ -554,6 +562,8 @@ type AccountArgs struct { Location pulumi.StringPtrInput ManagedHsmKeyId pulumi.StringPtrInput // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + // + // > **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 details. MinimalTlsVersion pulumi.StringPtrInput MongoServerVersion pulumi.StringPtrInput MultipleWriteLocationsEnabled pulumi.BoolPtrInput @@ -761,6 +771,8 @@ func (o AccountOutput) ManagedHsmKeyId() pulumi.StringPtrOutput { } // Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. +// +// > **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 details. func (o AccountOutput) MinimalTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *Account) pulumi.StringPtrOutput { return v.MinimalTlsVersion }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/azure/databricks/init.go b/sdk/go/azure/databricks/init.go index c6e8a026eb..da113dd925 100644 --- a/sdk/go/azure/databricks/init.go +++ b/sdk/go/azure/databricks/init.go @@ -27,6 +27,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &VirtualNetworkPeering{} case "azure:databricks/workspace:Workspace": r = &Workspace{} + case "azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey": + r = &WorkspaceCustomerManagedKey{} case "azure:databricks/workspaceRootDbfsCustomerManagedKey:WorkspaceRootDbfsCustomerManagedKey": r = &WorkspaceRootDbfsCustomerManagedKey{} default: @@ -57,6 +59,11 @@ func init() { "databricks/workspace", &module{version}, ) + pulumi.RegisterResourceModule( + "azure", + "databricks/workspaceCustomerManagedKey", + &module{version}, + ) pulumi.RegisterResourceModule( "azure", "databricks/workspaceRootDbfsCustomerManagedKey", diff --git a/sdk/go/azure/databricks/workspaceCustomerManagedKey.go b/sdk/go/azure/databricks/workspaceCustomerManagedKey.go new file mode 100644 index 0000000000..814a1288d4 --- /dev/null +++ b/sdk/go/azure/databricks/workspaceCustomerManagedKey.go @@ -0,0 +1,237 @@ +// 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 databricks + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// ## Import +// +// Databrick Workspaces can be imported using the `resource id`, e.g. +// +// ```sh +// $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 +// ``` +type WorkspaceCustomerManagedKey struct { + pulumi.CustomResourceState + + KeyVaultKeyId pulumi.StringOutput `pulumi:"keyVaultKeyId"` + // The unique identifier of the databricks workspace in Databricks control plane. + WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"` +} + +// NewWorkspaceCustomerManagedKey registers a new resource with the given unique name, arguments, and options. +func NewWorkspaceCustomerManagedKey(ctx *pulumi.Context, + name string, args *WorkspaceCustomerManagedKeyArgs, opts ...pulumi.ResourceOption) (*WorkspaceCustomerManagedKey, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.KeyVaultKeyId == nil { + return nil, errors.New("invalid value for required argument 'KeyVaultKeyId'") + } + if args.WorkspaceId == nil { + return nil, errors.New("invalid value for required argument 'WorkspaceId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource WorkspaceCustomerManagedKey + err := ctx.RegisterResource("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetWorkspaceCustomerManagedKey gets an existing WorkspaceCustomerManagedKey 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 GetWorkspaceCustomerManagedKey(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *WorkspaceCustomerManagedKeyState, opts ...pulumi.ResourceOption) (*WorkspaceCustomerManagedKey, error) { + var resource WorkspaceCustomerManagedKey + err := ctx.ReadResource("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering WorkspaceCustomerManagedKey resources. +type workspaceCustomerManagedKeyState struct { + KeyVaultKeyId *string `pulumi:"keyVaultKeyId"` + // The unique identifier of the databricks workspace in Databricks control plane. + WorkspaceId *string `pulumi:"workspaceId"` +} + +type WorkspaceCustomerManagedKeyState struct { + KeyVaultKeyId pulumi.StringPtrInput + // The unique identifier of the databricks workspace in Databricks control plane. + WorkspaceId pulumi.StringPtrInput +} + +func (WorkspaceCustomerManagedKeyState) ElementType() reflect.Type { + return reflect.TypeOf((*workspaceCustomerManagedKeyState)(nil)).Elem() +} + +type workspaceCustomerManagedKeyArgs struct { + KeyVaultKeyId string `pulumi:"keyVaultKeyId"` + // The unique identifier of the databricks workspace in Databricks control plane. + WorkspaceId string `pulumi:"workspaceId"` +} + +// The set of arguments for constructing a WorkspaceCustomerManagedKey resource. +type WorkspaceCustomerManagedKeyArgs struct { + KeyVaultKeyId pulumi.StringInput + // The unique identifier of the databricks workspace in Databricks control plane. + WorkspaceId pulumi.StringInput +} + +func (WorkspaceCustomerManagedKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*workspaceCustomerManagedKeyArgs)(nil)).Elem() +} + +type WorkspaceCustomerManagedKeyInput interface { + pulumi.Input + + ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput + ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput +} + +func (*WorkspaceCustomerManagedKey) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (i *WorkspaceCustomerManagedKey) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput { + return i.ToWorkspaceCustomerManagedKeyOutputWithContext(context.Background()) +} + +func (i *WorkspaceCustomerManagedKey) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCustomerManagedKeyOutput) +} + +// WorkspaceCustomerManagedKeyArrayInput is an input type that accepts WorkspaceCustomerManagedKeyArray and WorkspaceCustomerManagedKeyArrayOutput values. +// You can construct a concrete instance of `WorkspaceCustomerManagedKeyArrayInput` via: +// +// WorkspaceCustomerManagedKeyArray{ WorkspaceCustomerManagedKeyArgs{...} } +type WorkspaceCustomerManagedKeyArrayInput interface { + pulumi.Input + + ToWorkspaceCustomerManagedKeyArrayOutput() WorkspaceCustomerManagedKeyArrayOutput + ToWorkspaceCustomerManagedKeyArrayOutputWithContext(context.Context) WorkspaceCustomerManagedKeyArrayOutput +} + +type WorkspaceCustomerManagedKeyArray []WorkspaceCustomerManagedKeyInput + +func (WorkspaceCustomerManagedKeyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (i WorkspaceCustomerManagedKeyArray) ToWorkspaceCustomerManagedKeyArrayOutput() WorkspaceCustomerManagedKeyArrayOutput { + return i.ToWorkspaceCustomerManagedKeyArrayOutputWithContext(context.Background()) +} + +func (i WorkspaceCustomerManagedKeyArray) ToWorkspaceCustomerManagedKeyArrayOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCustomerManagedKeyArrayOutput) +} + +// WorkspaceCustomerManagedKeyMapInput is an input type that accepts WorkspaceCustomerManagedKeyMap and WorkspaceCustomerManagedKeyMapOutput values. +// You can construct a concrete instance of `WorkspaceCustomerManagedKeyMapInput` via: +// +// WorkspaceCustomerManagedKeyMap{ "key": WorkspaceCustomerManagedKeyArgs{...} } +type WorkspaceCustomerManagedKeyMapInput interface { + pulumi.Input + + ToWorkspaceCustomerManagedKeyMapOutput() WorkspaceCustomerManagedKeyMapOutput + ToWorkspaceCustomerManagedKeyMapOutputWithContext(context.Context) WorkspaceCustomerManagedKeyMapOutput +} + +type WorkspaceCustomerManagedKeyMap map[string]WorkspaceCustomerManagedKeyInput + +func (WorkspaceCustomerManagedKeyMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (i WorkspaceCustomerManagedKeyMap) ToWorkspaceCustomerManagedKeyMapOutput() WorkspaceCustomerManagedKeyMapOutput { + return i.ToWorkspaceCustomerManagedKeyMapOutputWithContext(context.Background()) +} + +func (i WorkspaceCustomerManagedKeyMap) ToWorkspaceCustomerManagedKeyMapOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCustomerManagedKeyMapOutput) +} + +type WorkspaceCustomerManagedKeyOutput struct{ *pulumi.OutputState } + +func (WorkspaceCustomerManagedKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyOutput) KeyVaultKeyId() pulumi.StringOutput { + return o.ApplyT(func(v *WorkspaceCustomerManagedKey) pulumi.StringOutput { return v.KeyVaultKeyId }).(pulumi.StringOutput) +} + +// The unique identifier of the databricks workspace in Databricks control plane. +func (o WorkspaceCustomerManagedKeyOutput) WorkspaceId() pulumi.StringOutput { + return o.ApplyT(func(v *WorkspaceCustomerManagedKey) pulumi.StringOutput { return v.WorkspaceId }).(pulumi.StringOutput) +} + +type WorkspaceCustomerManagedKeyArrayOutput struct{ *pulumi.OutputState } + +func (WorkspaceCustomerManagedKeyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (o WorkspaceCustomerManagedKeyArrayOutput) ToWorkspaceCustomerManagedKeyArrayOutput() WorkspaceCustomerManagedKeyArrayOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyArrayOutput) ToWorkspaceCustomerManagedKeyArrayOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyArrayOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyArrayOutput) Index(i pulumi.IntInput) WorkspaceCustomerManagedKeyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *WorkspaceCustomerManagedKey { + return vs[0].([]*WorkspaceCustomerManagedKey)[vs[1].(int)] + }).(WorkspaceCustomerManagedKeyOutput) +} + +type WorkspaceCustomerManagedKeyMapOutput struct{ *pulumi.OutputState } + +func (WorkspaceCustomerManagedKeyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WorkspaceCustomerManagedKey)(nil)).Elem() +} + +func (o WorkspaceCustomerManagedKeyMapOutput) ToWorkspaceCustomerManagedKeyMapOutput() WorkspaceCustomerManagedKeyMapOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyMapOutput) ToWorkspaceCustomerManagedKeyMapOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyMapOutput { + return o +} + +func (o WorkspaceCustomerManagedKeyMapOutput) MapIndex(k pulumi.StringInput) WorkspaceCustomerManagedKeyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *WorkspaceCustomerManagedKey { + return vs[0].(map[string]*WorkspaceCustomerManagedKey)[vs[1].(string)] + }).(WorkspaceCustomerManagedKeyOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceCustomerManagedKeyInput)(nil)).Elem(), &WorkspaceCustomerManagedKey{}) + pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceCustomerManagedKeyArrayInput)(nil)).Elem(), WorkspaceCustomerManagedKeyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*WorkspaceCustomerManagedKeyMapInput)(nil)).Elem(), WorkspaceCustomerManagedKeyMap{}) + pulumi.RegisterOutputType(WorkspaceCustomerManagedKeyOutput{}) + pulumi.RegisterOutputType(WorkspaceCustomerManagedKeyArrayOutput{}) + pulumi.RegisterOutputType(WorkspaceCustomerManagedKeyMapOutput{}) +} diff --git a/sdk/go/azure/eventgrid/init.go b/sdk/go/azure/eventgrid/init.go index 34b98a8258..efdf2fa2d5 100644 --- a/sdk/go/azure/eventgrid/init.go +++ b/sdk/go/azure/eventgrid/init.go @@ -27,6 +27,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &DomainTopic{} case "azure:eventgrid/eventSubscription:EventSubscription": r = &EventSubscription{} + case "azure:eventgrid/namespace:Namespace": + r = &Namespace{} case "azure:eventgrid/systemTopic:SystemTopic": r = &SystemTopic{} case "azure:eventgrid/systemTopicEventSubscription:SystemTopicEventSubscription": @@ -61,6 +63,11 @@ func init() { "eventgrid/eventSubscription", &module{version}, ) + pulumi.RegisterResourceModule( + "azure", + "eventgrid/namespace", + &module{version}, + ) pulumi.RegisterResourceModule( "azure", "eventgrid/systemTopic", diff --git a/sdk/go/azure/eventgrid/namespace.go b/sdk/go/azure/eventgrid/namespace.go new file mode 100644 index 0000000000..8de064d57d --- /dev/null +++ b/sdk/go/azure/eventgrid/namespace.go @@ -0,0 +1,401 @@ +// 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 eventgrid + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages an EventGrid Namespace +// +// ## 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/eventgrid" +// "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("West Europe"), +// }) +// if err != nil { +// return err +// } +// _, err = eventgrid.NewNamespace(ctx, "example", &eventgrid.NamespaceArgs{ +// Name: pulumi.String("my-eventgrid-namespace"), +// Location: example.Location, +// ResourceGroupName: example.Name, +// Tags: pulumi.StringMap{ +// "environment": pulumi.String("Production"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// EventGrid Namespace's can be imported using the `resource id`, e.g. +// +// ```sh +// $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 +// ``` +type Namespace struct { + pulumi.CustomResourceState + + // Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + Capacity pulumi.IntPtrOutput `pulumi:"capacity"` + // An `identity` block as defined below. + Identity NamespaceIdentityPtrOutput `pulumi:"identity"` + // One or more `inboundIpRule` blocks as defined below. + InboundIpRules NamespaceInboundIpRuleArrayOutput `pulumi:"inboundIpRules"` + // Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + Location pulumi.StringOutput `pulumi:"location"` + // Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + Name pulumi.StringOutput `pulumi:"name"` + // Whether or not public network access is allowed for this server. Defaults to `Enabled`. + PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"` + // The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` + // Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + Sku pulumi.StringPtrOutput `pulumi:"sku"` + // A mapping of tags to assign to the resource. + Tags pulumi.StringMapOutput `pulumi:"tags"` + // A `topicSpacesConfiguration` block as defined below. + TopicSpacesConfigurations NamespaceTopicSpacesConfigurationArrayOutput `pulumi:"topicSpacesConfigurations"` +} + +// NewNamespace registers a new resource with the given unique name, arguments, and options. +func NewNamespace(ctx *pulumi.Context, + name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, 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'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Namespace + err := ctx.RegisterResource("azure:eventgrid/namespace:Namespace", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetNamespace gets an existing Namespace 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 GetNamespace(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error) { + var resource Namespace + err := ctx.ReadResource("azure:eventgrid/namespace:Namespace", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Namespace resources. +type namespaceState struct { + // Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + Capacity *int `pulumi:"capacity"` + // An `identity` block as defined below. + Identity *NamespaceIdentity `pulumi:"identity"` + // One or more `inboundIpRule` blocks as defined below. + InboundIpRules []NamespaceInboundIpRule `pulumi:"inboundIpRules"` + // Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + Location *string `pulumi:"location"` + // Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + Name *string `pulumi:"name"` + // Whether or not public network access is allowed for this server. Defaults to `Enabled`. + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` + // The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + ResourceGroupName *string `pulumi:"resourceGroupName"` + // Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + Sku *string `pulumi:"sku"` + // A mapping of tags to assign to the resource. + Tags map[string]string `pulumi:"tags"` + // A `topicSpacesConfiguration` block as defined below. + TopicSpacesConfigurations []NamespaceTopicSpacesConfiguration `pulumi:"topicSpacesConfigurations"` +} + +type NamespaceState struct { + // Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + Capacity pulumi.IntPtrInput + // An `identity` block as defined below. + Identity NamespaceIdentityPtrInput + // One or more `inboundIpRule` blocks as defined below. + InboundIpRules NamespaceInboundIpRuleArrayInput + // Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + Location pulumi.StringPtrInput + // Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + Name pulumi.StringPtrInput + // Whether or not public network access is allowed for this server. Defaults to `Enabled`. + PublicNetworkAccess pulumi.StringPtrInput + // The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringPtrInput + // Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + Sku pulumi.StringPtrInput + // A mapping of tags to assign to the resource. + Tags pulumi.StringMapInput + // A `topicSpacesConfiguration` block as defined below. + TopicSpacesConfigurations NamespaceTopicSpacesConfigurationArrayInput +} + +func (NamespaceState) ElementType() reflect.Type { + return reflect.TypeOf((*namespaceState)(nil)).Elem() +} + +type namespaceArgs struct { + // Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + Capacity *int `pulumi:"capacity"` + // An `identity` block as defined below. + Identity *NamespaceIdentity `pulumi:"identity"` + // One or more `inboundIpRule` blocks as defined below. + InboundIpRules []NamespaceInboundIpRule `pulumi:"inboundIpRules"` + // Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + Location *string `pulumi:"location"` + // Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + Name *string `pulumi:"name"` + // Whether or not public network access is allowed for this server. Defaults to `Enabled`. + PublicNetworkAccess *string `pulumi:"publicNetworkAccess"` + // The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + Sku *string `pulumi:"sku"` + // A mapping of tags to assign to the resource. + Tags map[string]string `pulumi:"tags"` + // A `topicSpacesConfiguration` block as defined below. + TopicSpacesConfigurations []NamespaceTopicSpacesConfiguration `pulumi:"topicSpacesConfigurations"` +} + +// The set of arguments for constructing a Namespace resource. +type NamespaceArgs struct { + // Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + Capacity pulumi.IntPtrInput + // An `identity` block as defined below. + Identity NamespaceIdentityPtrInput + // One or more `inboundIpRule` blocks as defined below. + InboundIpRules NamespaceInboundIpRuleArrayInput + // Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + Location pulumi.StringPtrInput + // Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + Name pulumi.StringPtrInput + // Whether or not public network access is allowed for this server. Defaults to `Enabled`. + PublicNetworkAccess pulumi.StringPtrInput + // The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + ResourceGroupName pulumi.StringInput + // Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + Sku pulumi.StringPtrInput + // A mapping of tags to assign to the resource. + Tags pulumi.StringMapInput + // A `topicSpacesConfiguration` block as defined below. + TopicSpacesConfigurations NamespaceTopicSpacesConfigurationArrayInput +} + +func (NamespaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*namespaceArgs)(nil)).Elem() +} + +type NamespaceInput interface { + pulumi.Input + + ToNamespaceOutput() NamespaceOutput + ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput +} + +func (*Namespace) ElementType() reflect.Type { + return reflect.TypeOf((**Namespace)(nil)).Elem() +} + +func (i *Namespace) ToNamespaceOutput() NamespaceOutput { + return i.ToNamespaceOutputWithContext(context.Background()) +} + +func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) +} + +// NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. +// You can construct a concrete instance of `NamespaceArrayInput` via: +// +// NamespaceArray{ NamespaceArgs{...} } +type NamespaceArrayInput interface { + pulumi.Input + + ToNamespaceArrayOutput() NamespaceArrayOutput + ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput +} + +type NamespaceArray []NamespaceInput + +func (NamespaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Namespace)(nil)).Elem() +} + +func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput { + return i.ToNamespaceArrayOutputWithContext(context.Background()) +} + +func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceArrayOutput) +} + +// NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. +// You can construct a concrete instance of `NamespaceMapInput` via: +// +// NamespaceMap{ "key": NamespaceArgs{...} } +type NamespaceMapInput interface { + pulumi.Input + + ToNamespaceMapOutput() NamespaceMapOutput + ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput +} + +type NamespaceMap map[string]NamespaceInput + +func (NamespaceMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Namespace)(nil)).Elem() +} + +func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput { + return i.ToNamespaceMapOutputWithContext(context.Background()) +} + +func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceMapOutput) +} + +type NamespaceOutput struct{ *pulumi.OutputState } + +func (NamespaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Namespace)(nil)).Elem() +} + +func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput { + return o +} + +func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput { + return o +} + +// Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. +func (o NamespaceOutput) Capacity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Namespace) pulumi.IntPtrOutput { return v.Capacity }).(pulumi.IntPtrOutput) +} + +// An `identity` block as defined below. +func (o NamespaceOutput) Identity() NamespaceIdentityPtrOutput { + return o.ApplyT(func(v *Namespace) NamespaceIdentityPtrOutput { return v.Identity }).(NamespaceIdentityPtrOutput) +} + +// One or more `inboundIpRule` blocks as defined below. +func (o NamespaceOutput) InboundIpRules() NamespaceInboundIpRuleArrayOutput { + return o.ApplyT(func(v *Namespace) NamespaceInboundIpRuleArrayOutput { return v.InboundIpRules }).(NamespaceInboundIpRuleArrayOutput) +} + +// Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. +func (o NamespaceOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) +} + +// Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. +func (o NamespaceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Whether or not public network access is allowed for this server. Defaults to `Enabled`. +func (o NamespaceOutput) PublicNetworkAccess() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringPtrOutput { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput) +} + +// The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. +func (o NamespaceOutput) ResourceGroupName() pulumi.StringOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.ResourceGroupName }).(pulumi.StringOutput) +} + +// Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. +func (o NamespaceOutput) Sku() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringPtrOutput { return v.Sku }).(pulumi.StringPtrOutput) +} + +// A mapping of tags to assign to the resource. +func (o NamespaceOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// A `topicSpacesConfiguration` block as defined below. +func (o NamespaceOutput) TopicSpacesConfigurations() NamespaceTopicSpacesConfigurationArrayOutput { + return o.ApplyT(func(v *Namespace) NamespaceTopicSpacesConfigurationArrayOutput { return v.TopicSpacesConfigurations }).(NamespaceTopicSpacesConfigurationArrayOutput) +} + +type NamespaceArrayOutput struct{ *pulumi.OutputState } + +func (NamespaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Namespace)(nil)).Elem() +} + +func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput { + return o +} + +func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput { + return o +} + +func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Namespace { + return vs[0].([]*Namespace)[vs[1].(int)] + }).(NamespaceOutput) +} + +type NamespaceMapOutput struct{ *pulumi.OutputState } + +func (NamespaceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Namespace)(nil)).Elem() +} + +func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput { + return o +} + +func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput { + return o +} + +func (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Namespace { + return vs[0].(map[string]*Namespace)[vs[1].(string)] + }).(NamespaceOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceInput)(nil)).Elem(), &Namespace{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceArrayInput)(nil)).Elem(), NamespaceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceMapInput)(nil)).Elem(), NamespaceMap{}) + pulumi.RegisterOutputType(NamespaceOutput{}) + pulumi.RegisterOutputType(NamespaceArrayOutput{}) + pulumi.RegisterOutputType(NamespaceMapOutput{}) +} diff --git a/sdk/go/azure/eventgrid/pulumiTypes.go b/sdk/go/azure/eventgrid/pulumiTypes.go index 1326c7461a..7ab75ad0b4 100644 --- a/sdk/go/azure/eventgrid/pulumiTypes.go +++ b/sdk/go/azure/eventgrid/pulumiTypes.go @@ -4824,6 +4824,664 @@ func (o EventSubscriptionWebhookEndpointPtrOutput) Url() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +type NamespaceIdentity struct { + // Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + // + // > **NOTE:** This is required when `type` is set to `UserAssigned` + IdentityIds []string `pulumi:"identityIds"` + PrincipalId *string `pulumi:"principalId"` + TenantId *string `pulumi:"tenantId"` + // Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + Type string `pulumi:"type"` +} + +// NamespaceIdentityInput is an input type that accepts NamespaceIdentityArgs and NamespaceIdentityOutput values. +// You can construct a concrete instance of `NamespaceIdentityInput` via: +// +// NamespaceIdentityArgs{...} +type NamespaceIdentityInput interface { + pulumi.Input + + ToNamespaceIdentityOutput() NamespaceIdentityOutput + ToNamespaceIdentityOutputWithContext(context.Context) NamespaceIdentityOutput +} + +type NamespaceIdentityArgs struct { + // Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + // + // > **NOTE:** This is required when `type` is set to `UserAssigned` + IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` + PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + // Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + Type pulumi.StringInput `pulumi:"type"` +} + +func (NamespaceIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceIdentity)(nil)).Elem() +} + +func (i NamespaceIdentityArgs) ToNamespaceIdentityOutput() NamespaceIdentityOutput { + return i.ToNamespaceIdentityOutputWithContext(context.Background()) +} + +func (i NamespaceIdentityArgs) ToNamespaceIdentityOutputWithContext(ctx context.Context) NamespaceIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceIdentityOutput) +} + +func (i NamespaceIdentityArgs) ToNamespaceIdentityPtrOutput() NamespaceIdentityPtrOutput { + return i.ToNamespaceIdentityPtrOutputWithContext(context.Background()) +} + +func (i NamespaceIdentityArgs) ToNamespaceIdentityPtrOutputWithContext(ctx context.Context) NamespaceIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceIdentityOutput).ToNamespaceIdentityPtrOutputWithContext(ctx) +} + +// NamespaceIdentityPtrInput is an input type that accepts NamespaceIdentityArgs, NamespaceIdentityPtr and NamespaceIdentityPtrOutput values. +// You can construct a concrete instance of `NamespaceIdentityPtrInput` via: +// +// NamespaceIdentityArgs{...} +// +// or: +// +// nil +type NamespaceIdentityPtrInput interface { + pulumi.Input + + ToNamespaceIdentityPtrOutput() NamespaceIdentityPtrOutput + ToNamespaceIdentityPtrOutputWithContext(context.Context) NamespaceIdentityPtrOutput +} + +type namespaceIdentityPtrType NamespaceIdentityArgs + +func NamespaceIdentityPtr(v *NamespaceIdentityArgs) NamespaceIdentityPtrInput { + return (*namespaceIdentityPtrType)(v) +} + +func (*namespaceIdentityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceIdentity)(nil)).Elem() +} + +func (i *namespaceIdentityPtrType) ToNamespaceIdentityPtrOutput() NamespaceIdentityPtrOutput { + return i.ToNamespaceIdentityPtrOutputWithContext(context.Background()) +} + +func (i *namespaceIdentityPtrType) ToNamespaceIdentityPtrOutputWithContext(ctx context.Context) NamespaceIdentityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceIdentityPtrOutput) +} + +type NamespaceIdentityOutput struct{ *pulumi.OutputState } + +func (NamespaceIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceIdentity)(nil)).Elem() +} + +func (o NamespaceIdentityOutput) ToNamespaceIdentityOutput() NamespaceIdentityOutput { + return o +} + +func (o NamespaceIdentityOutput) ToNamespaceIdentityOutputWithContext(ctx context.Context) NamespaceIdentityOutput { + return o +} + +func (o NamespaceIdentityOutput) ToNamespaceIdentityPtrOutput() NamespaceIdentityPtrOutput { + return o.ToNamespaceIdentityPtrOutputWithContext(context.Background()) +} + +func (o NamespaceIdentityOutput) ToNamespaceIdentityPtrOutputWithContext(ctx context.Context) NamespaceIdentityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceIdentity) *NamespaceIdentity { + return &v + }).(NamespaceIdentityPtrOutput) +} + +// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. +// +// > **NOTE:** This is required when `type` is set to `UserAssigned` +func (o NamespaceIdentityOutput) IdentityIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v NamespaceIdentity) []string { return v.IdentityIds }).(pulumi.StringArrayOutput) +} + +func (o NamespaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceIdentity) *string { return v.PrincipalId }).(pulumi.StringPtrOutput) +} + +func (o NamespaceIdentityOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceIdentity) *string { return v.TenantId }).(pulumi.StringPtrOutput) +} + +// Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. +func (o NamespaceIdentityOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceIdentity) string { return v.Type }).(pulumi.StringOutput) +} + +type NamespaceIdentityPtrOutput struct{ *pulumi.OutputState } + +func (NamespaceIdentityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceIdentity)(nil)).Elem() +} + +func (o NamespaceIdentityPtrOutput) ToNamespaceIdentityPtrOutput() NamespaceIdentityPtrOutput { + return o +} + +func (o NamespaceIdentityPtrOutput) ToNamespaceIdentityPtrOutputWithContext(ctx context.Context) NamespaceIdentityPtrOutput { + return o +} + +func (o NamespaceIdentityPtrOutput) Elem() NamespaceIdentityOutput { + return o.ApplyT(func(v *NamespaceIdentity) NamespaceIdentity { + if v != nil { + return *v + } + var ret NamespaceIdentity + return ret + }).(NamespaceIdentityOutput) +} + +// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. +// +// > **NOTE:** This is required when `type` is set to `UserAssigned` +func (o NamespaceIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NamespaceIdentity) []string { + if v == nil { + return nil + } + return v.IdentityIds + }).(pulumi.StringArrayOutput) +} + +func (o NamespaceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceIdentity) *string { + if v == nil { + return nil + } + return v.PrincipalId + }).(pulumi.StringPtrOutput) +} + +func (o NamespaceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceIdentity) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) +} + +// Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. +func (o NamespaceIdentityPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceIdentity) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type NamespaceInboundIpRule struct { + // The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + Action *string `pulumi:"action"` + // The IP mask (CIDR) to match on. + IpMask string `pulumi:"ipMask"` +} + +// NamespaceInboundIpRuleInput is an input type that accepts NamespaceInboundIpRuleArgs and NamespaceInboundIpRuleOutput values. +// You can construct a concrete instance of `NamespaceInboundIpRuleInput` via: +// +// NamespaceInboundIpRuleArgs{...} +type NamespaceInboundIpRuleInput interface { + pulumi.Input + + ToNamespaceInboundIpRuleOutput() NamespaceInboundIpRuleOutput + ToNamespaceInboundIpRuleOutputWithContext(context.Context) NamespaceInboundIpRuleOutput +} + +type NamespaceInboundIpRuleArgs struct { + // The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + Action pulumi.StringPtrInput `pulumi:"action"` + // The IP mask (CIDR) to match on. + IpMask pulumi.StringInput `pulumi:"ipMask"` +} + +func (NamespaceInboundIpRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceInboundIpRule)(nil)).Elem() +} + +func (i NamespaceInboundIpRuleArgs) ToNamespaceInboundIpRuleOutput() NamespaceInboundIpRuleOutput { + return i.ToNamespaceInboundIpRuleOutputWithContext(context.Background()) +} + +func (i NamespaceInboundIpRuleArgs) ToNamespaceInboundIpRuleOutputWithContext(ctx context.Context) NamespaceInboundIpRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceInboundIpRuleOutput) +} + +// NamespaceInboundIpRuleArrayInput is an input type that accepts NamespaceInboundIpRuleArray and NamespaceInboundIpRuleArrayOutput values. +// You can construct a concrete instance of `NamespaceInboundIpRuleArrayInput` via: +// +// NamespaceInboundIpRuleArray{ NamespaceInboundIpRuleArgs{...} } +type NamespaceInboundIpRuleArrayInput interface { + pulumi.Input + + ToNamespaceInboundIpRuleArrayOutput() NamespaceInboundIpRuleArrayOutput + ToNamespaceInboundIpRuleArrayOutputWithContext(context.Context) NamespaceInboundIpRuleArrayOutput +} + +type NamespaceInboundIpRuleArray []NamespaceInboundIpRuleInput + +func (NamespaceInboundIpRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceInboundIpRule)(nil)).Elem() +} + +func (i NamespaceInboundIpRuleArray) ToNamespaceInboundIpRuleArrayOutput() NamespaceInboundIpRuleArrayOutput { + return i.ToNamespaceInboundIpRuleArrayOutputWithContext(context.Background()) +} + +func (i NamespaceInboundIpRuleArray) ToNamespaceInboundIpRuleArrayOutputWithContext(ctx context.Context) NamespaceInboundIpRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceInboundIpRuleArrayOutput) +} + +type NamespaceInboundIpRuleOutput struct{ *pulumi.OutputState } + +func (NamespaceInboundIpRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceInboundIpRule)(nil)).Elem() +} + +func (o NamespaceInboundIpRuleOutput) ToNamespaceInboundIpRuleOutput() NamespaceInboundIpRuleOutput { + return o +} + +func (o NamespaceInboundIpRuleOutput) ToNamespaceInboundIpRuleOutputWithContext(ctx context.Context) NamespaceInboundIpRuleOutput { + return o +} + +// The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. +func (o NamespaceInboundIpRuleOutput) Action() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceInboundIpRule) *string { return v.Action }).(pulumi.StringPtrOutput) +} + +// The IP mask (CIDR) to match on. +func (o NamespaceInboundIpRuleOutput) IpMask() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceInboundIpRule) string { return v.IpMask }).(pulumi.StringOutput) +} + +type NamespaceInboundIpRuleArrayOutput struct{ *pulumi.OutputState } + +func (NamespaceInboundIpRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceInboundIpRule)(nil)).Elem() +} + +func (o NamespaceInboundIpRuleArrayOutput) ToNamespaceInboundIpRuleArrayOutput() NamespaceInboundIpRuleArrayOutput { + return o +} + +func (o NamespaceInboundIpRuleArrayOutput) ToNamespaceInboundIpRuleArrayOutputWithContext(ctx context.Context) NamespaceInboundIpRuleArrayOutput { + return o +} + +func (o NamespaceInboundIpRuleArrayOutput) Index(i pulumi.IntInput) NamespaceInboundIpRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespaceInboundIpRule { + return vs[0].([]NamespaceInboundIpRule)[vs[1].(int)] + }).(NamespaceInboundIpRuleOutput) +} + +type NamespaceTopicSpacesConfiguration struct { + // Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + AlternativeAuthenticationNameSources []string `pulumi:"alternativeAuthenticationNameSources"` + // One or more `dynamicRoutingEnrichment` blocks as defined below. + DynamicRoutingEnrichments []NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment `pulumi:"dynamicRoutingEnrichments"` + // Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + MaximumClientSessionsPerAuthenticationName *int `pulumi:"maximumClientSessionsPerAuthenticationName"` + // Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + MaximumSessionExpiryInHours *int `pulumi:"maximumSessionExpiryInHours"` + // Specifies the Event Grid topic resource ID to route messages to. + RouteTopicId *string `pulumi:"routeTopicId"` + // One or more `staticRoutingEnrichment` blocks as defined below. + StaticRoutingEnrichments []NamespaceTopicSpacesConfigurationStaticRoutingEnrichment `pulumi:"staticRoutingEnrichments"` +} + +// NamespaceTopicSpacesConfigurationInput is an input type that accepts NamespaceTopicSpacesConfigurationArgs and NamespaceTopicSpacesConfigurationOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationInput` via: +// +// NamespaceTopicSpacesConfigurationArgs{...} +type NamespaceTopicSpacesConfigurationInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationOutput() NamespaceTopicSpacesConfigurationOutput + ToNamespaceTopicSpacesConfigurationOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationOutput +} + +type NamespaceTopicSpacesConfigurationArgs struct { + // Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + AlternativeAuthenticationNameSources pulumi.StringArrayInput `pulumi:"alternativeAuthenticationNameSources"` + // One or more `dynamicRoutingEnrichment` blocks as defined below. + DynamicRoutingEnrichments NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayInput `pulumi:"dynamicRoutingEnrichments"` + // Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + MaximumClientSessionsPerAuthenticationName pulumi.IntPtrInput `pulumi:"maximumClientSessionsPerAuthenticationName"` + // Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + MaximumSessionExpiryInHours pulumi.IntPtrInput `pulumi:"maximumSessionExpiryInHours"` + // Specifies the Event Grid topic resource ID to route messages to. + RouteTopicId pulumi.StringPtrInput `pulumi:"routeTopicId"` + // One or more `staticRoutingEnrichment` blocks as defined below. + StaticRoutingEnrichments NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayInput `pulumi:"staticRoutingEnrichments"` +} + +func (NamespaceTopicSpacesConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfiguration)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationArgs) ToNamespaceTopicSpacesConfigurationOutput() NamespaceTopicSpacesConfigurationOutput { + return i.ToNamespaceTopicSpacesConfigurationOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationArgs) ToNamespaceTopicSpacesConfigurationOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationOutput) +} + +// NamespaceTopicSpacesConfigurationArrayInput is an input type that accepts NamespaceTopicSpacesConfigurationArray and NamespaceTopicSpacesConfigurationArrayOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationArrayInput` via: +// +// NamespaceTopicSpacesConfigurationArray{ NamespaceTopicSpacesConfigurationArgs{...} } +type NamespaceTopicSpacesConfigurationArrayInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationArrayOutput() NamespaceTopicSpacesConfigurationArrayOutput + ToNamespaceTopicSpacesConfigurationArrayOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationArrayOutput +} + +type NamespaceTopicSpacesConfigurationArray []NamespaceTopicSpacesConfigurationInput + +func (NamespaceTopicSpacesConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfiguration)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationArray) ToNamespaceTopicSpacesConfigurationArrayOutput() NamespaceTopicSpacesConfigurationArrayOutput { + return i.ToNamespaceTopicSpacesConfigurationArrayOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationArray) ToNamespaceTopicSpacesConfigurationArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationArrayOutput) +} + +type NamespaceTopicSpacesConfigurationOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfiguration)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationOutput) ToNamespaceTopicSpacesConfigurationOutput() NamespaceTopicSpacesConfigurationOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationOutput) ToNamespaceTopicSpacesConfigurationOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationOutput { + return o +} + +// Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. +func (o NamespaceTopicSpacesConfigurationOutput) AlternativeAuthenticationNameSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) []string { return v.AlternativeAuthenticationNameSources }).(pulumi.StringArrayOutput) +} + +// One or more `dynamicRoutingEnrichment` blocks as defined below. +func (o NamespaceTopicSpacesConfigurationOutput) DynamicRoutingEnrichments() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) []NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment { + return v.DynamicRoutingEnrichments + }).(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) +} + +// Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. +func (o NamespaceTopicSpacesConfigurationOutput) MaximumClientSessionsPerAuthenticationName() pulumi.IntPtrOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) *int { return v.MaximumClientSessionsPerAuthenticationName }).(pulumi.IntPtrOutput) +} + +// Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. +func (o NamespaceTopicSpacesConfigurationOutput) MaximumSessionExpiryInHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) *int { return v.MaximumSessionExpiryInHours }).(pulumi.IntPtrOutput) +} + +// Specifies the Event Grid topic resource ID to route messages to. +func (o NamespaceTopicSpacesConfigurationOutput) RouteTopicId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) *string { return v.RouteTopicId }).(pulumi.StringPtrOutput) +} + +// One or more `staticRoutingEnrichment` blocks as defined below. +func (o NamespaceTopicSpacesConfigurationOutput) StaticRoutingEnrichments() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfiguration) []NamespaceTopicSpacesConfigurationStaticRoutingEnrichment { + return v.StaticRoutingEnrichments + }).(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) +} + +type NamespaceTopicSpacesConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfiguration)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationArrayOutput) ToNamespaceTopicSpacesConfigurationArrayOutput() NamespaceTopicSpacesConfigurationArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationArrayOutput) ToNamespaceTopicSpacesConfigurationArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationArrayOutput) Index(i pulumi.IntInput) NamespaceTopicSpacesConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespaceTopicSpacesConfiguration { + return vs[0].([]NamespaceTopicSpacesConfiguration)[vs[1].(int)] + }).(NamespaceTopicSpacesConfigurationOutput) +} + +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment struct { + // The enrichment key. + Key string `pulumi:"key"` + // The enrichment value. + Value string `pulumi:"value"` +} + +// NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentInput is an input type that accepts NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs and NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentInput` via: +// +// NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs{...} +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput + ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput +} + +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs struct { + // The enrichment key. + Key pulumi.StringInput `pulumi:"key"` + // The enrichment value. + Value pulumi.StringInput `pulumi:"value"` +} + +func (NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput { + return i.ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) +} + +// NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayInput is an input type that accepts NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray and NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayInput` via: +// +// NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray{ NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs{...} } +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput + ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput +} + +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray []NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentInput + +func (NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput { + return i.ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) +} + +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput { + return o +} + +// The enrichment key. +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment) string { return v.Key }).(pulumi.StringOutput) +} + +// The enrichment value. +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment) string { return v.Value }).(pulumi.StringOutput) +} + +type NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) ToNamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput) Index(i pulumi.IntInput) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment { + return vs[0].([]NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment)[vs[1].(int)] + }).(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput) +} + +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichment struct { + // The enrichment key. + Key string `pulumi:"key"` + // The enrichment value. + Value string `pulumi:"value"` +} + +// NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentInput is an input type that accepts NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs and NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentInput` via: +// +// NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs{...} +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput + ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput +} + +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs struct { + // The enrichment key. + Key pulumi.StringInput `pulumi:"key"` + // The enrichment value. + Value pulumi.StringInput `pulumi:"value"` +} + +func (NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfigurationStaticRoutingEnrichment)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput { + return i.ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) +} + +// NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayInput is an input type that accepts NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray and NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput values. +// You can construct a concrete instance of `NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayInput` via: +// +// NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray{ NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs{...} } +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayInput interface { + pulumi.Input + + ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput + ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutputWithContext(context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput +} + +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray []NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentInput + +func (NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfigurationStaticRoutingEnrichment)(nil)).Elem() +} + +func (i NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput { + return i.ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutputWithContext(context.Background()) +} + +func (i NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) +} + +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceTopicSpacesConfigurationStaticRoutingEnrichment)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput { + return o +} + +// The enrichment key. +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfigurationStaticRoutingEnrichment) string { return v.Key }).(pulumi.StringOutput) +} + +// The enrichment value. +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NamespaceTopicSpacesConfigurationStaticRoutingEnrichment) string { return v.Value }).(pulumi.StringOutput) +} + +type NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput struct{ *pulumi.OutputState } + +func (NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NamespaceTopicSpacesConfigurationStaticRoutingEnrichment)(nil)).Elem() +} + +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput() NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) ToNamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutputWithContext(ctx context.Context) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput { + return o +} + +func (o NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput) Index(i pulumi.IntInput) NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespaceTopicSpacesConfigurationStaticRoutingEnrichment { + return vs[0].([]NamespaceTopicSpacesConfigurationStaticRoutingEnrichment)[vs[1].(int)] + }).(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput) +} + type SystemTopicEventSubscriptionAdvancedFilter struct { // Compares a value of an event using a single boolean value. BoolEquals []SystemTopicEventSubscriptionAdvancedFilterBoolEqual `pulumi:"boolEquals"` @@ -10531,6 +11189,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*EventSubscriptionSubjectFilterPtrInput)(nil)).Elem(), EventSubscriptionSubjectFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*EventSubscriptionWebhookEndpointInput)(nil)).Elem(), EventSubscriptionWebhookEndpointArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*EventSubscriptionWebhookEndpointPtrInput)(nil)).Elem(), EventSubscriptionWebhookEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceIdentityInput)(nil)).Elem(), NamespaceIdentityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceIdentityPtrInput)(nil)).Elem(), NamespaceIdentityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceInboundIpRuleInput)(nil)).Elem(), NamespaceInboundIpRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceInboundIpRuleArrayInput)(nil)).Elem(), NamespaceInboundIpRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationArrayInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayInput)(nil)).Elem(), NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SystemTopicEventSubscriptionAdvancedFilterInput)(nil)).Elem(), SystemTopicEventSubscriptionAdvancedFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SystemTopicEventSubscriptionAdvancedFilterPtrInput)(nil)).Elem(), SystemTopicEventSubscriptionAdvancedFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SystemTopicEventSubscriptionAdvancedFilterBoolEqualInput)(nil)).Elem(), SystemTopicEventSubscriptionAdvancedFilterBoolEqualArgs{}) @@ -10675,6 +11343,16 @@ func init() { pulumi.RegisterOutputType(EventSubscriptionSubjectFilterPtrOutput{}) pulumi.RegisterOutputType(EventSubscriptionWebhookEndpointOutput{}) pulumi.RegisterOutputType(EventSubscriptionWebhookEndpointPtrOutput{}) + pulumi.RegisterOutputType(NamespaceIdentityOutput{}) + pulumi.RegisterOutputType(NamespaceIdentityPtrOutput{}) + pulumi.RegisterOutputType(NamespaceInboundIpRuleOutput{}) + pulumi.RegisterOutputType(NamespaceInboundIpRuleArrayOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationArrayOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArrayOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentOutput{}) + pulumi.RegisterOutputType(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArrayOutput{}) pulumi.RegisterOutputType(SystemTopicEventSubscriptionAdvancedFilterOutput{}) pulumi.RegisterOutputType(SystemTopicEventSubscriptionAdvancedFilterPtrOutput{}) pulumi.RegisterOutputType(SystemTopicEventSubscriptionAdvancedFilterBoolEqualOutput{}) diff --git a/sdk/go/azure/eventhub/eventHubNamespace.go b/sdk/go/azure/eventhub/eventHubNamespace.go index 1bbd8775a5..85193cc777 100644 --- a/sdk/go/azure/eventhub/eventHubNamespace.go +++ b/sdk/go/azure/eventhub/eventHubNamespace.go @@ -92,6 +92,8 @@ type EventHubNamespace struct { // Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. MaximumThroughputUnits pulumi.IntPtrOutput `pulumi:"maximumThroughputUnits"` // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. MinimumTlsVersion pulumi.StringPtrOutput `pulumi:"minimumTlsVersion"` // Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` @@ -179,6 +181,8 @@ type eventHubNamespaceState struct { // Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. MaximumThroughputUnits *int `pulumi:"maximumThroughputUnits"` // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. Name *string `pulumi:"name"` @@ -222,6 +226,8 @@ type EventHubNamespaceState struct { // Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. MaximumThroughputUnits pulumi.IntPtrInput // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. MinimumTlsVersion pulumi.StringPtrInput // Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput @@ -257,6 +263,8 @@ type eventHubNamespaceArgs struct { // Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. MaximumThroughputUnits *int `pulumi:"maximumThroughputUnits"` // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. MinimumTlsVersion *string `pulumi:"minimumTlsVersion"` // Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. Name *string `pulumi:"name"` @@ -289,6 +297,8 @@ type EventHubNamespaceArgs struct { // Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. MaximumThroughputUnits pulumi.IntPtrInput // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. MinimumTlsVersion pulumi.StringPtrInput // Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput @@ -457,6 +467,8 @@ func (o EventHubNamespaceOutput) MaximumThroughputUnits() pulumi.IntPtrOutput { } // The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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 EventHubNamespaceOutput) MinimumTlsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *EventHubNamespace) pulumi.StringPtrOutput { return v.MinimumTlsVersion }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/azure/monitoring/aadDiagnosticSetting.go b/sdk/go/azure/monitoring/aadDiagnosticSetting.go index 6ebd963f84..cced9eb7e1 100644 --- a/sdk/go/azure/monitoring/aadDiagnosticSetting.go +++ b/sdk/go/azure/monitoring/aadDiagnosticSetting.go @@ -55,31 +55,15 @@ import ( // EnabledLogs: monitoring.AadDiagnosticSettingEnabledLogArray{ // &monitoring.AadDiagnosticSettingEnabledLogArgs{ // Category: pulumi.String("SignInLogs"), -// RetentionPolicy: &monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{ -// Enabled: pulumi.Bool(true), -// Days: pulumi.Int(1), -// }, // }, // &monitoring.AadDiagnosticSettingEnabledLogArgs{ // Category: pulumi.String("AuditLogs"), -// RetentionPolicy: &monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{ -// Enabled: pulumi.Bool(true), -// Days: pulumi.Int(1), -// }, // }, // &monitoring.AadDiagnosticSettingEnabledLogArgs{ // Category: pulumi.String("NonInteractiveUserSignInLogs"), -// RetentionPolicy: &monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{ -// Enabled: pulumi.Bool(true), -// Days: pulumi.Int(1), -// }, // }, // &monitoring.AadDiagnosticSettingEnabledLogArgs{ // Category: pulumi.String("ServicePrincipalSignInLogs"), -// RetentionPolicy: &monitoring.AadDiagnosticSettingEnabledLogRetentionPolicyArgs{ -// Enabled: pulumi.Bool(true), -// Days: pulumi.Int(1), -// }, // }, // }, // }) diff --git a/sdk/go/azure/monitoring/pulumiTypes.go b/sdk/go/azure/monitoring/pulumiTypes.go index 39aca9ad45..4280f8eb49 100644 --- a/sdk/go/azure/monitoring/pulumiTypes.go +++ b/sdk/go/azure/monitoring/pulumiTypes.go @@ -16,8 +16,8 @@ var _ = internal.GetEnvOrDefault type AadDiagnosticSettingEnabledLog struct { // The log category for the Azure Active Directory Diagnostic. Category string `pulumi:"category"` - // A `retentionPolicy` block as defined below. - RetentionPolicy AadDiagnosticSettingEnabledLogRetentionPolicy `pulumi:"retentionPolicy"` + // Deprecated: Azure does not support retention for new Azure Active Directory Diagnostic Settings + RetentionPolicy *AadDiagnosticSettingEnabledLogRetentionPolicy `pulumi:"retentionPolicy"` } // AadDiagnosticSettingEnabledLogInput is an input type that accepts AadDiagnosticSettingEnabledLogArgs and AadDiagnosticSettingEnabledLogOutput values. @@ -34,8 +34,8 @@ type AadDiagnosticSettingEnabledLogInput interface { type AadDiagnosticSettingEnabledLogArgs struct { // The log category for the Azure Active Directory Diagnostic. Category pulumi.StringInput `pulumi:"category"` - // A `retentionPolicy` block as defined below. - RetentionPolicy AadDiagnosticSettingEnabledLogRetentionPolicyInput `pulumi:"retentionPolicy"` + // Deprecated: Azure does not support retention for new Azure Active Directory Diagnostic Settings + RetentionPolicy AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput `pulumi:"retentionPolicy"` } func (AadDiagnosticSettingEnabledLogArgs) ElementType() reflect.Type { @@ -94,11 +94,11 @@ func (o AadDiagnosticSettingEnabledLogOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v AadDiagnosticSettingEnabledLog) string { return v.Category }).(pulumi.StringOutput) } -// A `retentionPolicy` block as defined below. -func (o AadDiagnosticSettingEnabledLogOutput) RetentionPolicy() AadDiagnosticSettingEnabledLogRetentionPolicyOutput { - return o.ApplyT(func(v AadDiagnosticSettingEnabledLog) AadDiagnosticSettingEnabledLogRetentionPolicy { +// Deprecated: Azure does not support retention for new Azure Active Directory Diagnostic Settings +func (o AadDiagnosticSettingEnabledLogOutput) RetentionPolicy() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return o.ApplyT(func(v AadDiagnosticSettingEnabledLog) *AadDiagnosticSettingEnabledLogRetentionPolicy { return v.RetentionPolicy - }).(AadDiagnosticSettingEnabledLogRetentionPolicyOutput) + }).(AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) } type AadDiagnosticSettingEnabledLogArrayOutput struct{ *pulumi.OutputState } @@ -122,9 +122,7 @@ func (o AadDiagnosticSettingEnabledLogArrayOutput) Index(i pulumi.IntInput) AadD } type AadDiagnosticSettingEnabledLogRetentionPolicy struct { - // The number of days for which this Retention Policy should apply. Defaults to `0`. - Days *int `pulumi:"days"` - // Is this Retention Policy enabled? Defaults to `false`. + Days *int `pulumi:"days"` Enabled *bool `pulumi:"enabled"` } @@ -140,9 +138,7 @@ type AadDiagnosticSettingEnabledLogRetentionPolicyInput interface { } type AadDiagnosticSettingEnabledLogRetentionPolicyArgs struct { - // The number of days for which this Retention Policy should apply. Defaults to `0`. - Days pulumi.IntPtrInput `pulumi:"days"` - // Is this Retention Policy enabled? Defaults to `false`. + Days pulumi.IntPtrInput `pulumi:"days"` Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } @@ -158,6 +154,47 @@ func (i AadDiagnosticSettingEnabledLogRetentionPolicyArgs) ToAadDiagnosticSettin return pulumi.ToOutputWithContext(ctx, i).(AadDiagnosticSettingEnabledLogRetentionPolicyOutput) } +func (i AadDiagnosticSettingEnabledLogRetentionPolicyArgs) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return i.ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(context.Background()) +} + +func (i AadDiagnosticSettingEnabledLogRetentionPolicyArgs) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(ctx context.Context) AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AadDiagnosticSettingEnabledLogRetentionPolicyOutput).ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(ctx) +} + +// AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput is an input type that accepts AadDiagnosticSettingEnabledLogRetentionPolicyArgs, AadDiagnosticSettingEnabledLogRetentionPolicyPtr and AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput values. +// You can construct a concrete instance of `AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput` via: +// +// AadDiagnosticSettingEnabledLogRetentionPolicyArgs{...} +// +// or: +// +// nil +type AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput interface { + pulumi.Input + + ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput + ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(context.Context) AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput +} + +type aadDiagnosticSettingEnabledLogRetentionPolicyPtrType AadDiagnosticSettingEnabledLogRetentionPolicyArgs + +func AadDiagnosticSettingEnabledLogRetentionPolicyPtr(v *AadDiagnosticSettingEnabledLogRetentionPolicyArgs) AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput { + return (*aadDiagnosticSettingEnabledLogRetentionPolicyPtrType)(v) +} + +func (*aadDiagnosticSettingEnabledLogRetentionPolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AadDiagnosticSettingEnabledLogRetentionPolicy)(nil)).Elem() +} + +func (i *aadDiagnosticSettingEnabledLogRetentionPolicyPtrType) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return i.ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(context.Background()) +} + +func (i *aadDiagnosticSettingEnabledLogRetentionPolicyPtrType) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(ctx context.Context) AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) +} + type AadDiagnosticSettingEnabledLogRetentionPolicyOutput struct{ *pulumi.OutputState } func (AadDiagnosticSettingEnabledLogRetentionPolicyOutput) ElementType() reflect.Type { @@ -172,16 +209,66 @@ func (o AadDiagnosticSettingEnabledLogRetentionPolicyOutput) ToAadDiagnosticSett return o } -// The number of days for which this Retention Policy should apply. Defaults to `0`. +func (o AadDiagnosticSettingEnabledLogRetentionPolicyOutput) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return o.ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(context.Background()) +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyOutput) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(ctx context.Context) AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AadDiagnosticSettingEnabledLogRetentionPolicy) *AadDiagnosticSettingEnabledLogRetentionPolicy { + return &v + }).(AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) +} + func (o AadDiagnosticSettingEnabledLogRetentionPolicyOutput) Days() pulumi.IntPtrOutput { return o.ApplyT(func(v AadDiagnosticSettingEnabledLogRetentionPolicy) *int { return v.Days }).(pulumi.IntPtrOutput) } -// Is this Retention Policy enabled? Defaults to `false`. func (o AadDiagnosticSettingEnabledLogRetentionPolicyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v AadDiagnosticSettingEnabledLogRetentionPolicy) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } +type AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput struct{ *pulumi.OutputState } + +func (AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AadDiagnosticSettingEnabledLogRetentionPolicy)(nil)).Elem() +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput() AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return o +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) ToAadDiagnosticSettingEnabledLogRetentionPolicyPtrOutputWithContext(ctx context.Context) AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput { + return o +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) Elem() AadDiagnosticSettingEnabledLogRetentionPolicyOutput { + return o.ApplyT(func(v *AadDiagnosticSettingEnabledLogRetentionPolicy) AadDiagnosticSettingEnabledLogRetentionPolicy { + if v != nil { + return *v + } + var ret AadDiagnosticSettingEnabledLogRetentionPolicy + return ret + }).(AadDiagnosticSettingEnabledLogRetentionPolicyOutput) +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) Days() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AadDiagnosticSettingEnabledLogRetentionPolicy) *int { + if v == nil { + return nil + } + return v.Days + }).(pulumi.IntPtrOutput) +} + +func (o AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AadDiagnosticSettingEnabledLogRetentionPolicy) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + type ActionGroupArmRoleReceiver struct { // The name of the ARM role receiver. Name string `pulumi:"name"` @@ -23095,6 +23182,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AadDiagnosticSettingEnabledLogInput)(nil)).Elem(), AadDiagnosticSettingEnabledLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AadDiagnosticSettingEnabledLogArrayInput)(nil)).Elem(), AadDiagnosticSettingEnabledLogArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AadDiagnosticSettingEnabledLogRetentionPolicyInput)(nil)).Elem(), AadDiagnosticSettingEnabledLogRetentionPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AadDiagnosticSettingEnabledLogRetentionPolicyPtrInput)(nil)).Elem(), AadDiagnosticSettingEnabledLogRetentionPolicyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ActionGroupArmRoleReceiverInput)(nil)).Elem(), ActionGroupArmRoleReceiverArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ActionGroupArmRoleReceiverArrayInput)(nil)).Elem(), ActionGroupArmRoleReceiverArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ActionGroupAutomationRunbookReceiverInput)(nil)).Elem(), ActionGroupAutomationRunbookReceiverArgs{}) @@ -23413,6 +23501,7 @@ func init() { pulumi.RegisterOutputType(AadDiagnosticSettingEnabledLogOutput{}) pulumi.RegisterOutputType(AadDiagnosticSettingEnabledLogArrayOutput{}) pulumi.RegisterOutputType(AadDiagnosticSettingEnabledLogRetentionPolicyOutput{}) + pulumi.RegisterOutputType(AadDiagnosticSettingEnabledLogRetentionPolicyPtrOutput{}) pulumi.RegisterOutputType(ActionGroupArmRoleReceiverOutput{}) pulumi.RegisterOutputType(ActionGroupArmRoleReceiverArrayOutput{}) pulumi.RegisterOutputType(ActionGroupAutomationRunbookReceiverOutput{}) diff --git a/sdk/go/azure/network/networkManager.go b/sdk/go/azure/network/networkManager.go index 42831d72ea..4c79861a6d 100644 --- a/sdk/go/azure/network/networkManager.go +++ b/sdk/go/azure/network/networkManager.go @@ -89,7 +89,7 @@ type NetworkManager struct { ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A `scope` block as defined below. Scope NetworkManagerScopeOutput `pulumi:"scope"` - // A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + // A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. ScopeAccesses pulumi.StringArrayOutput `pulumi:"scopeAccesses"` // A mapping of tags which should be assigned to the Network Managers. Tags pulumi.StringMapOutput `pulumi:"tags"` @@ -146,7 +146,7 @@ type networkManagerState struct { ResourceGroupName *string `pulumi:"resourceGroupName"` // A `scope` block as defined below. Scope *NetworkManagerScope `pulumi:"scope"` - // A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + // A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. ScopeAccesses []string `pulumi:"scopeAccesses"` // A mapping of tags which should be assigned to the Network Managers. Tags map[string]string `pulumi:"tags"` @@ -165,7 +165,7 @@ type NetworkManagerState struct { ResourceGroupName pulumi.StringPtrInput // A `scope` block as defined below. Scope NetworkManagerScopePtrInput - // A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + // A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. ScopeAccesses pulumi.StringArrayInput // A mapping of tags which should be assigned to the Network Managers. Tags pulumi.StringMapInput @@ -186,7 +186,7 @@ type networkManagerArgs struct { ResourceGroupName string `pulumi:"resourceGroupName"` // A `scope` block as defined below. Scope NetworkManagerScope `pulumi:"scope"` - // A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + // A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. ScopeAccesses []string `pulumi:"scopeAccesses"` // A mapping of tags which should be assigned to the Network Managers. Tags map[string]string `pulumi:"tags"` @@ -204,7 +204,7 @@ type NetworkManagerArgs struct { ResourceGroupName pulumi.StringInput // A `scope` block as defined below. Scope NetworkManagerScopeInput - // A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + // A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. ScopeAccesses pulumi.StringArrayInput // A mapping of tags which should be assigned to the Network Managers. Tags pulumi.StringMapInput @@ -327,7 +327,7 @@ func (o NetworkManagerOutput) Scope() NetworkManagerScopeOutput { return o.ApplyT(func(v *NetworkManager) NetworkManagerScopeOutput { return v.Scope }).(NetworkManagerScopeOutput) } -// A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. +// A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. func (o NetworkManagerOutput) ScopeAccesses() pulumi.StringArrayOutput { return o.ApplyT(func(v *NetworkManager) pulumi.StringArrayOutput { return v.ScopeAccesses }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/azure/network/networkWatcherFlowLog.go b/sdk/go/azure/network/networkWatcherFlowLog.go index db026e9983..8459e85754 100644 --- a/sdk/go/azure/network/networkWatcherFlowLog.go +++ b/sdk/go/azure/network/networkWatcherFlowLog.go @@ -32,7 +32,7 @@ type NetworkWatcherFlowLog struct { Location pulumi.StringOutput `pulumi:"location"` // The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` - // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + // Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. NetworkSecurityGroupId pulumi.StringOutput `pulumi:"networkSecurityGroupId"` // The name of the Network Watcher. Changing this forces a new resource to be created. NetworkWatcherName pulumi.StringOutput `pulumi:"networkWatcherName"` @@ -44,6 +44,8 @@ type NetworkWatcherFlowLog struct { StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"` // A mapping of tags which should be assigned to the Network Watcher Flow Log. Tags pulumi.StringMapOutput `pulumi:"tags"` + // The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` // A `trafficAnalytics` block as documented below. TrafficAnalytics NetworkWatcherFlowLogTrafficAnalyticsPtrOutput `pulumi:"trafficAnalytics"` // The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. @@ -60,9 +62,6 @@ func NewNetworkWatcherFlowLog(ctx *pulumi.Context, if args.Enabled == nil { return nil, errors.New("invalid value for required argument 'Enabled'") } - if args.NetworkSecurityGroupId == nil { - return nil, errors.New("invalid value for required argument 'NetworkSecurityGroupId'") - } if args.NetworkWatcherName == nil { return nil, errors.New("invalid value for required argument 'NetworkWatcherName'") } @@ -104,7 +103,7 @@ type networkWatcherFlowLogState struct { Location *string `pulumi:"location"` // The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. Name *string `pulumi:"name"` - // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + // Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. NetworkSecurityGroupId *string `pulumi:"networkSecurityGroupId"` // The name of the Network Watcher. Changing this forces a new resource to be created. NetworkWatcherName *string `pulumi:"networkWatcherName"` @@ -116,6 +115,8 @@ type networkWatcherFlowLogState struct { StorageAccountId *string `pulumi:"storageAccountId"` // A mapping of tags which should be assigned to the Network Watcher Flow Log. Tags map[string]string `pulumi:"tags"` + // The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + TargetResourceId *string `pulumi:"targetResourceId"` // A `trafficAnalytics` block as documented below. TrafficAnalytics *NetworkWatcherFlowLogTrafficAnalytics `pulumi:"trafficAnalytics"` // The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. @@ -129,7 +130,7 @@ type NetworkWatcherFlowLogState struct { Location pulumi.StringPtrInput // The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. Name pulumi.StringPtrInput - // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + // Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. NetworkSecurityGroupId pulumi.StringPtrInput // The name of the Network Watcher. Changing this forces a new resource to be created. NetworkWatcherName pulumi.StringPtrInput @@ -141,6 +142,8 @@ type NetworkWatcherFlowLogState struct { StorageAccountId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Network Watcher Flow Log. Tags pulumi.StringMapInput + // The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + TargetResourceId pulumi.StringPtrInput // A `trafficAnalytics` block as documented below. TrafficAnalytics NetworkWatcherFlowLogTrafficAnalyticsPtrInput // The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. @@ -158,8 +161,8 @@ type networkWatcherFlowLogArgs struct { Location *string `pulumi:"location"` // The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. Name *string `pulumi:"name"` - // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - NetworkSecurityGroupId string `pulumi:"networkSecurityGroupId"` + // Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. + NetworkSecurityGroupId *string `pulumi:"networkSecurityGroupId"` // The name of the Network Watcher. Changing this forces a new resource to be created. NetworkWatcherName string `pulumi:"networkWatcherName"` // The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. @@ -170,6 +173,8 @@ type networkWatcherFlowLogArgs struct { StorageAccountId string `pulumi:"storageAccountId"` // A mapping of tags which should be assigned to the Network Watcher Flow Log. Tags map[string]string `pulumi:"tags"` + // The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + TargetResourceId *string `pulumi:"targetResourceId"` // A `trafficAnalytics` block as documented below. TrafficAnalytics *NetworkWatcherFlowLogTrafficAnalytics `pulumi:"trafficAnalytics"` // The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. @@ -184,8 +189,8 @@ type NetworkWatcherFlowLogArgs struct { Location pulumi.StringPtrInput // The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. Name pulumi.StringPtrInput - // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - NetworkSecurityGroupId pulumi.StringInput + // Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. + NetworkSecurityGroupId pulumi.StringPtrInput // The name of the Network Watcher. Changing this forces a new resource to be created. NetworkWatcherName pulumi.StringInput // The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. @@ -196,6 +201,8 @@ type NetworkWatcherFlowLogArgs struct { StorageAccountId pulumi.StringInput // A mapping of tags which should be assigned to the Network Watcher Flow Log. Tags pulumi.StringMapInput + // The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + TargetResourceId pulumi.StringPtrInput // A `trafficAnalytics` block as documented below. TrafficAnalytics NetworkWatcherFlowLogTrafficAnalyticsPtrInput // The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. @@ -304,7 +311,7 @@ func (o NetworkWatcherFlowLogOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *NetworkWatcherFlowLog) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. +// Deprecated: The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. func (o NetworkWatcherFlowLogOutput) NetworkSecurityGroupId() pulumi.StringOutput { return o.ApplyT(func(v *NetworkWatcherFlowLog) pulumi.StringOutput { return v.NetworkSecurityGroupId }).(pulumi.StringOutput) } @@ -334,6 +341,11 @@ func (o NetworkWatcherFlowLogOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v *NetworkWatcherFlowLog) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } +// The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. +func (o NetworkWatcherFlowLogOutput) TargetResourceId() pulumi.StringOutput { + return o.ApplyT(func(v *NetworkWatcherFlowLog) pulumi.StringOutput { return v.TargetResourceId }).(pulumi.StringOutput) +} + // A `trafficAnalytics` block as documented below. func (o NetworkWatcherFlowLogOutput) TrafficAnalytics() NetworkWatcherFlowLogTrafficAnalyticsPtrOutput { return o.ApplyT(func(v *NetworkWatcherFlowLog) NetworkWatcherFlowLogTrafficAnalyticsPtrOutput { diff --git a/sdk/go/azure/network/pulumiTypes.go b/sdk/go/azure/network/pulumiTypes.go index 61e720ca72..9cde265da8 100644 --- a/sdk/go/azure/network/pulumiTypes.go +++ b/sdk/go/azure/network/pulumiTypes.go @@ -5614,7 +5614,7 @@ type ApplicationGatewayWafConfiguration struct { RequestBodyCheck *bool `pulumi:"requestBodyCheck"` // The Type of the Rule Set used for this Web Application Firewall. Possible values are `OWASP`, `Microsoft_BotManagerRuleSet` and `Microsoft_DefaultRuleSet`. Defaults to `OWASP`. RuleSetType *string `pulumi:"ruleSetType"` - // The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + // The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. RuleSetVersion string `pulumi:"ruleSetVersion"` } @@ -5646,7 +5646,7 @@ type ApplicationGatewayWafConfigurationArgs struct { RequestBodyCheck pulumi.BoolPtrInput `pulumi:"requestBodyCheck"` // The Type of the Rule Set used for this Web Application Firewall. Possible values are `OWASP`, `Microsoft_BotManagerRuleSet` and `Microsoft_DefaultRuleSet`. Defaults to `OWASP`. RuleSetType pulumi.StringPtrInput `pulumi:"ruleSetType"` - // The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + // The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. RuleSetVersion pulumi.StringInput `pulumi:"ruleSetVersion"` } @@ -5771,7 +5771,7 @@ func (o ApplicationGatewayWafConfigurationOutput) RuleSetType() pulumi.StringPtr return o.ApplyT(func(v ApplicationGatewayWafConfiguration) *string { return v.RuleSetType }).(pulumi.StringPtrOutput) } -// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. +// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. func (o ApplicationGatewayWafConfigurationOutput) RuleSetVersion() pulumi.StringOutput { return o.ApplyT(func(v ApplicationGatewayWafConfiguration) string { return v.RuleSetVersion }).(pulumi.StringOutput) } @@ -5880,7 +5880,7 @@ func (o ApplicationGatewayWafConfigurationPtrOutput) RuleSetType() pulumi.String }).(pulumi.StringPtrOutput) } -// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. +// The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. func (o ApplicationGatewayWafConfigurationPtrOutput) RuleSetVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *ApplicationGatewayWafConfiguration) *string { if v == nil { @@ -17115,7 +17115,7 @@ type SubnetDelegationServiceDelegation struct { // // > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. Actions []string `pulumi:"actions"` - // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. Name string `pulumi:"name"` } @@ -17135,7 +17135,7 @@ type SubnetDelegationServiceDelegationArgs struct { // // > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. Actions pulumi.StringArrayInput `pulumi:"actions"` - // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. Name pulumi.StringInput `pulumi:"name"` } @@ -17172,7 +17172,7 @@ func (o SubnetDelegationServiceDelegationOutput) Actions() pulumi.StringArrayOut return o.ApplyT(func(v SubnetDelegationServiceDelegation) []string { return v.Actions }).(pulumi.StringArrayOutput) } -// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. +// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. func (o SubnetDelegationServiceDelegationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SubnetDelegationServiceDelegation) string { return v.Name }).(pulumi.StringOutput) } @@ -22663,7 +22663,7 @@ type VirtualNetworkSubnetDelegationServiceDelegation struct { // // > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. Actions []string `pulumi:"actions"` - // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. Name string `pulumi:"name"` } @@ -22683,7 +22683,7 @@ type VirtualNetworkSubnetDelegationServiceDelegationArgs struct { // // > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. Actions pulumi.StringArrayInput `pulumi:"actions"` - // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + // The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. Name pulumi.StringInput `pulumi:"name"` } @@ -22771,7 +22771,7 @@ func (o VirtualNetworkSubnetDelegationServiceDelegationOutput) Actions() pulumi. return o.ApplyT(func(v VirtualNetworkSubnetDelegationServiceDelegation) []string { return v.Actions }).(pulumi.StringArrayOutput) } -// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. +// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. func (o VirtualNetworkSubnetDelegationServiceDelegationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VirtualNetworkSubnetDelegationServiceDelegation) string { return v.Name }).(pulumi.StringOutput) } @@ -22812,7 +22812,7 @@ func (o VirtualNetworkSubnetDelegationServiceDelegationPtrOutput) Actions() pulu }).(pulumi.StringArrayOutput) } -// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. +// The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. func (o VirtualNetworkSubnetDelegationServiceDelegationPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *VirtualNetworkSubnetDelegationServiceDelegation) *string { if v == nil { diff --git a/sdk/go/azure/network/virtualNetworkGateway.go b/sdk/go/azure/network/virtualNetworkGateway.go index d6b503aa53..5b134d3e27 100644 --- a/sdk/go/azure/network/virtualNetworkGateway.go +++ b/sdk/go/azure/network/virtualNetworkGateway.go @@ -165,7 +165,7 @@ type VirtualNetworkGateway struct { // // > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. Generation pulumi.StringOutput `pulumi:"generation"` - // One or more (up to 3) `ipConfiguration` blocks documented below. + // One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -264,7 +264,7 @@ type virtualNetworkGatewayState struct { // // > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. Generation *string `pulumi:"generation"` - // One or more (up to 3) `ipConfiguration` blocks documented below. + // One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -322,7 +322,7 @@ type VirtualNetworkGatewayState struct { // // > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. Generation pulumi.StringPtrInput - // One or more (up to 3) `ipConfiguration` blocks documented below. + // One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -384,7 +384,7 @@ type virtualNetworkGatewayArgs struct { // // > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. Generation *string `pulumi:"generation"` - // One or more (up to 3) `ipConfiguration` blocks documented below. + // One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -443,7 +443,7 @@ type VirtualNetworkGatewayArgs struct { // // > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. Generation pulumi.StringPtrInput - // One or more (up to 3) `ipConfiguration` blocks documented below. + // One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -614,7 +614,7 @@ func (o VirtualNetworkGatewayOutput) Generation() pulumi.StringOutput { return o.ApplyT(func(v *VirtualNetworkGateway) pulumi.StringOutput { return v.Generation }).(pulumi.StringOutput) } -// One or more (up to 3) `ipConfiguration` blocks documented below. +// One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. // An active-standby gateway requires exactly one `ipConfiguration` block, // an active-active gateway requires exactly two `ipConfiguration` blocks whereas // an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. diff --git a/sdk/go/azure/role/assignment.go b/sdk/go/azure/role/assignment.go index 262e8dfaf0..cbdbb007d3 100644 --- a/sdk/go/azure/role/assignment.go +++ b/sdk/go/azure/role/assignment.go @@ -341,7 +341,7 @@ type Assignment struct { // The condition that limits the resources that the role can be assigned to. Changing this forces a new resource to be created. Condition pulumi.StringPtrOutput `pulumi:"condition"` // The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. - ConditionVersion pulumi.StringPtrOutput `pulumi:"conditionVersion"` + ConditionVersion pulumi.StringOutput `pulumi:"conditionVersion"` // The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. // // > **NOTE:** this field is only used in cross tenant scenario. @@ -635,8 +635,8 @@ func (o AssignmentOutput) Condition() pulumi.StringPtrOutput { } // The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. -func (o AssignmentOutput) ConditionVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Assignment) pulumi.StringPtrOutput { return v.ConditionVersion }).(pulumi.StringPtrOutput) +func (o AssignmentOutput) ConditionVersion() pulumi.StringOutput { + return o.ApplyT(func(v *Assignment) pulumi.StringOutput { return v.ConditionVersion }).(pulumi.StringOutput) } // The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/go/azure/securitycenter/autoProvisioning.go b/sdk/go/azure/securitycenter/autoProvisioning.go index cd4682a759..2c8be5288b 100644 --- a/sdk/go/azure/securitycenter/autoProvisioning.go +++ b/sdk/go/azure/securitycenter/autoProvisioning.go @@ -14,6 +14,8 @@ import ( // Enables or disables the Security Center Auto Provisioning feature for the subscription // +// > **Note:** The `securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. +// // > **NOTE:** There is no resource name required, it will always be "default" // // ## Example Usage diff --git a/sdk/go/azure/waf/pulumiTypes.go b/sdk/go/azure/waf/pulumiTypes.go index 68d74f820e..f1e1aa36a2 100644 --- a/sdk/go/azure/waf/pulumiTypes.go +++ b/sdk/go/azure/waf/pulumiTypes.go @@ -710,7 +710,7 @@ type PolicyManagedRulesExclusionExcludedRuleSet struct { RuleGroups []PolicyManagedRulesExclusionExcludedRuleSetRuleGroup `pulumi:"ruleGroups"` // The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`. Type *string `pulumi:"type"` - // The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + // The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. Version *string `pulumi:"version"` } @@ -730,7 +730,7 @@ type PolicyManagedRulesExclusionExcludedRuleSetArgs struct { RuleGroups PolicyManagedRulesExclusionExcludedRuleSetRuleGroupArrayInput `pulumi:"ruleGroups"` // The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`. Type pulumi.StringPtrInput `pulumi:"type"` - // The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + // The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. Version pulumi.StringPtrInput `pulumi:"version"` } @@ -823,7 +823,7 @@ func (o PolicyManagedRulesExclusionExcludedRuleSetOutput) Type() pulumi.StringPt return o.ApplyT(func(v PolicyManagedRulesExclusionExcludedRuleSet) *string { return v.Type }).(pulumi.StringPtrOutput) } -// The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. +// The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. func (o PolicyManagedRulesExclusionExcludedRuleSetOutput) Version() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyManagedRulesExclusionExcludedRuleSet) *string { return v.Version }).(pulumi.StringPtrOutput) } @@ -872,7 +872,7 @@ func (o PolicyManagedRulesExclusionExcludedRuleSetPtrOutput) Type() pulumi.Strin }).(pulumi.StringPtrOutput) } -// The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. +// The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. func (o PolicyManagedRulesExclusionExcludedRuleSetPtrOutput) Version() pulumi.StringPtrOutput { return o.ApplyT(func(v *PolicyManagedRulesExclusionExcludedRuleSet) *string { if v == nil { @@ -996,7 +996,7 @@ type PolicyManagedRulesManagedRuleSet struct { RuleGroupOverrides []PolicyManagedRulesManagedRuleSetRuleGroupOverride `pulumi:"ruleGroupOverrides"` // The rule set type. Possible values: `Microsoft_BotManagerRuleSet`, `Microsoft_DefaultRuleSet` and `OWASP`. Defaults to `OWASP`. Type *string `pulumi:"type"` - // The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + // The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. Version string `pulumi:"version"` } @@ -1016,7 +1016,7 @@ type PolicyManagedRulesManagedRuleSetArgs struct { RuleGroupOverrides PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput `pulumi:"ruleGroupOverrides"` // The rule set type. Possible values: `Microsoft_BotManagerRuleSet`, `Microsoft_DefaultRuleSet` and `OWASP`. Defaults to `OWASP`. Type pulumi.StringPtrInput `pulumi:"type"` - // The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + // The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. Version pulumi.StringInput `pulumi:"version"` } @@ -1083,7 +1083,7 @@ func (o PolicyManagedRulesManagedRuleSetOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyManagedRulesManagedRuleSet) *string { return v.Type }).(pulumi.StringPtrOutput) } -// The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. +// The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. func (o PolicyManagedRulesManagedRuleSetOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v PolicyManagedRulesManagedRuleSet) string { return v.Version }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/Api.java b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/Api.java index fb9426ccba..c5d63e5a28 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/Api.java +++ b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/Api.java @@ -79,7 +79,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_schema_swagger.json") * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/inputs/ApiImportArgs.java b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/inputs/ApiImportArgs.java index 40dfc2094b..efef657e71 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/inputs/ApiImportArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/inputs/ApiImportArgs.java @@ -33,14 +33,14 @@ public Output contentFormat() { } /** - * The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * */ @Import(name="contentValue", required=true) private Output contentValue; /** - * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * */ public Output contentValue() { @@ -110,7 +110,7 @@ public Builder contentFormat(String contentFormat) { } /** - * @param contentValue The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * @param contentValue The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * * @return builder * @@ -121,7 +121,7 @@ public Builder contentValue(Output contentValue) { } /** - * @param contentValue The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * @param contentValue The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/outputs/ApiImport.java b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/outputs/ApiImport.java index 13a8e4b0bb..ed59b5047a 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/apimanagement/outputs/ApiImport.java +++ b/sdk/java/src/main/java/com/pulumi/azure/apimanagement/outputs/ApiImport.java @@ -19,7 +19,7 @@ public final class ApiImport { */ private String contentFormat; /** - * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * */ private String contentValue; @@ -38,7 +38,7 @@ public String contentFormat() { return this.contentFormat; } /** - * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * @return The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. * */ public String contentValue() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachine.java b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachine.java index 5a50115482..30826ab87a 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachine.java +++ b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachine.java @@ -6,11 +6,14 @@ import com.pulumi.azure.Utilities; import com.pulumi.azure.arcmachine.ArcMachineArgs; import com.pulumi.azure.arcmachine.inputs.ArcMachineState; +import com.pulumi.azure.arcmachine.outputs.ArcMachineIdentity; 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.Map; +import java.util.Optional; import javax.annotation.Nullable; /** @@ -30,6 +33,7 @@ * import com.pulumi.azure.core.ResourceGroupArgs; * import com.pulumi.azure.arcmachine.ArcMachine; * import com.pulumi.azure.arcmachine.ArcMachineArgs; + * import com.pulumi.azure.arcmachine.inputs.ArcMachineIdentityArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -53,6 +57,10 @@ * .resourceGroupName(example.name()) * .location(example.location()) * .kind("SCVMM") + * .identity(ArcMachineIdentityArgs.builder() + * .type("SystemAssigned") + * .build()) + * .tags(Map.of("environment", "example")) * .build()); * * } @@ -72,6 +80,20 @@ */ @ResourceType(type="azure:arcmachine/arcMachine:ArcMachine") public class ArcMachine extends com.pulumi.resources.CustomResource { + /** + * An `identity` block as defined below. + * + */ + @Export(name="identity", refs={ArcMachineIdentity.class}, tree="[0]") + private Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Output> identity() { + return Codegen.optional(this.identity); + } /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. * @@ -128,6 +150,20 @@ public Output name() { public Output resourceGroupName() { return this.resourceGroupName; } + /** + * A mapping of tags to assign to the Arc Machine. + * + */ + @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> tags; + + /** + * @return A mapping of tags to assign to the Arc Machine. + * + */ + public Output>> tags() { + return Codegen.optional(this.tags); + } /** * diff --git a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachineArgs.java b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachineArgs.java index 1f5cfb98df..a5b74278c3 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachineArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/ArcMachineArgs.java @@ -3,10 +3,12 @@ package com.pulumi.azure.arcmachine; +import com.pulumi.azure.arcmachine.inputs.ArcMachineIdentityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -16,6 +18,21 @@ public final class ArcMachineArgs extends com.pulumi.resources.ResourceArgs { public static final ArcMachineArgs Empty = new ArcMachineArgs(); + /** + * An `identity` block as defined below. + * + */ + @Import(name="identity") + private @Nullable Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Optional> identity() { + return Optional.ofNullable(this.identity); + } + /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. * @@ -76,13 +93,30 @@ public Output resourceGroupName() { return this.resourceGroupName; } + /** + * A mapping of tags to assign to the Arc Machine. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the Arc Machine. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + private ArcMachineArgs() {} private ArcMachineArgs(ArcMachineArgs $) { + this.identity = $.identity; this.kind = $.kind; this.location = $.location; this.name = $.name; this.resourceGroupName = $.resourceGroupName; + this.tags = $.tags; } public static Builder builder() { @@ -103,6 +137,27 @@ public Builder(ArcMachineArgs defaults) { $ = new ArcMachineArgs(Objects.requireNonNull(defaults)); } + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(@Nullable Output identity) { + $.identity = identity; + return this; + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(ArcMachineIdentityArgs identity) { + return identity(Output.of(identity)); + } + /** * @param kind The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. * @@ -187,6 +242,27 @@ public Builder resourceGroupName(String resourceGroupName) { return resourceGroupName(Output.of(resourceGroupName)); } + /** + * @param tags A mapping of tags to assign to the Arc Machine. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the Arc Machine. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + public ArcMachineArgs build() { if ($.kind == null) { throw new MissingRequiredPropertyException("ArcMachineArgs", "kind"); diff --git a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineIdentityArgs.java b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineIdentityArgs.java new file mode 100644 index 0000000000..5910a7576f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineIdentityArgs.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.arcmachine.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; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ArcMachineIdentityArgs extends com.pulumi.resources.ResourceArgs { + + public static final ArcMachineIdentityArgs Empty = new ArcMachineIdentityArgs(); + + /** + * The Principal ID associated with this Managed Service Identity. + * + */ + @Import(name="principalId") + private @Nullable Output principalId; + + /** + * @return The Principal ID associated with this Managed Service Identity. + * + */ + public Optional> principalId() { + return Optional.ofNullable(this.principalId); + } + + /** + * The Tenant ID associated with this Managed Service Identity. + * + */ + @Import(name="tenantId") + private @Nullable Output tenantId; + + /** + * @return The Tenant ID associated with this Managed Service Identity. + * + */ + public Optional> tenantId() { + return Optional.ofNullable(this.tenantId); + } + + /** + * Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + */ + public Output type() { + return this.type; + } + + private ArcMachineIdentityArgs() {} + + private ArcMachineIdentityArgs(ArcMachineIdentityArgs $) { + this.principalId = $.principalId; + this.tenantId = $.tenantId; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ArcMachineIdentityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ArcMachineIdentityArgs $; + + public Builder() { + $ = new ArcMachineIdentityArgs(); + } + + public Builder(ArcMachineIdentityArgs defaults) { + $ = new ArcMachineIdentityArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param principalId The Principal ID associated with this Managed Service Identity. + * + * @return builder + * + */ + public Builder principalId(@Nullable Output principalId) { + $.principalId = principalId; + return this; + } + + /** + * @param principalId The Principal ID associated with this Managed Service Identity. + * + * @return builder + * + */ + public Builder principalId(String principalId) { + return principalId(Output.of(principalId)); + } + + /** + * @param tenantId The Tenant ID associated with this Managed Service Identity. + * + * @return builder + * + */ + public Builder tenantId(@Nullable Output tenantId) { + $.tenantId = tenantId; + return this; + } + + /** + * @param tenantId The Tenant ID associated with this Managed Service Identity. + * + * @return builder + * + */ + public Builder tenantId(String tenantId) { + return tenantId(Output.of(tenantId)); + } + + /** + * @param type Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public ArcMachineIdentityArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("ArcMachineIdentityArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineState.java b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineState.java index a885875866..157d0c6499 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/inputs/ArcMachineState.java @@ -3,9 +3,11 @@ package com.pulumi.azure.arcmachine.inputs; +import com.pulumi.azure.arcmachine.inputs.ArcMachineIdentityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -15,6 +17,21 @@ public final class ArcMachineState extends com.pulumi.resources.ResourceArgs { public static final ArcMachineState Empty = new ArcMachineState(); + /** + * An `identity` block as defined below. + * + */ + @Import(name="identity") + private @Nullable Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Optional> identity() { + return Optional.ofNullable(this.identity); + } + /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. * @@ -75,13 +92,30 @@ public Optional> resourceGroupName() { return Optional.ofNullable(this.resourceGroupName); } + /** + * A mapping of tags to assign to the Arc Machine. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the Arc Machine. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + private ArcMachineState() {} private ArcMachineState(ArcMachineState $) { + this.identity = $.identity; this.kind = $.kind; this.location = $.location; this.name = $.name; this.resourceGroupName = $.resourceGroupName; + this.tags = $.tags; } public static Builder builder() { @@ -102,6 +136,27 @@ public Builder(ArcMachineState defaults) { $ = new ArcMachineState(Objects.requireNonNull(defaults)); } + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(@Nullable Output identity) { + $.identity = identity; + return this; + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(ArcMachineIdentityArgs identity) { + return identity(Output.of(identity)); + } + /** * @param kind The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. * @@ -186,6 +241,27 @@ public Builder resourceGroupName(String resourceGroupName) { return resourceGroupName(Output.of(resourceGroupName)); } + /** + * @param tags A mapping of tags to assign to the Arc Machine. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the Arc Machine. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + public ArcMachineState build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/arcmachine/outputs/ArcMachineIdentity.java b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/outputs/ArcMachineIdentity.java new file mode 100644 index 0000000000..f7d2ba6b26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/arcmachine/outputs/ArcMachineIdentity.java @@ -0,0 +1,102 @@ +// *** 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.arcmachine.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ArcMachineIdentity { + /** + * @return The Principal ID associated with this Managed Service Identity. + * + */ + private @Nullable String principalId; + /** + * @return The Tenant ID associated with this Managed Service Identity. + * + */ + private @Nullable String tenantId; + /** + * @return Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + */ + private String type; + + private ArcMachineIdentity() {} + /** + * @return The Principal ID associated with this Managed Service Identity. + * + */ + public Optional principalId() { + return Optional.ofNullable(this.principalId); + } + /** + * @return The Tenant ID associated with this Managed Service Identity. + * + */ + public Optional tenantId() { + return Optional.ofNullable(this.tenantId); + } + /** + * @return Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ArcMachineIdentity defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String principalId; + private @Nullable String tenantId; + private String type; + public Builder() {} + public Builder(ArcMachineIdentity defaults) { + Objects.requireNonNull(defaults); + this.principalId = defaults.principalId; + this.tenantId = defaults.tenantId; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder principalId(@Nullable String principalId) { + + this.principalId = principalId; + return this; + } + @CustomType.Setter + public Builder tenantId(@Nullable String tenantId) { + + this.tenantId = tenantId; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("ArcMachineIdentity", "type"); + } + this.type = type; + return this; + } + public ArcMachineIdentity build() { + final var _resultValue = new ArcMachineIdentity(); + _resultValue.principalId = principalId; + _resultValue.tenantId = tenantId; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java b/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java index 70052dd766..00bd26d85b 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java +++ b/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java @@ -362,14 +362,14 @@ public Output> condition() { * */ @Export(name="conditionVersion", refs={String.class}, tree="[0]") - private Output conditionVersion; + private Output conditionVersion; /** * @return The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. * */ - public Output> conditionVersion() { - return Codegen.optional(this.conditionVersion); + public Output conditionVersion() { + return this.conditionVersion; } /** * The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/Account.java b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/Account.java index 17de9aef7f..c841eac0b6 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/Account.java +++ b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/Account.java @@ -384,6 +384,8 @@ public Output> managedHsmKeyId() { /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ @Export(name="minimalTlsVersion", refs={String.class}, tree="[0]") private Output minimalTlsVersion; @@ -391,6 +393,8 @@ public Output> managedHsmKeyId() { /** * @return Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ public Output> minimalTlsVersion() { return Codegen.optional(this.minimalTlsVersion); diff --git a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/AccountArgs.java b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/AccountArgs.java index 1fd4bbc98c..61a0ddc6eb 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/AccountArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/AccountArgs.java @@ -230,6 +230,8 @@ public Optional> managedHsmKeyId() { /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ @Import(name="minimalTlsVersion") private @Nullable Output minimalTlsVersion; @@ -237,6 +239,8 @@ public Optional> managedHsmKeyId() { /** * @return Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ public Optional> minimalTlsVersion() { return Optional.ofNullable(this.minimalTlsVersion); @@ -693,6 +697,8 @@ public Builder managedHsmKeyId(String managedHsmKeyId) { /** * @param minimalTlsVersion Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * * @return builder * */ @@ -704,6 +710,8 @@ public Builder minimalTlsVersion(@Nullable Output minimalTlsVersion) { /** * @param minimalTlsVersion Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/inputs/AccountState.java b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/inputs/AccountState.java index dd06c2e4d5..8964f448d2 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/inputs/AccountState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/cosmosdb/inputs/AccountState.java @@ -244,6 +244,8 @@ public Optional> managedHsmKeyId() { /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ @Import(name="minimalTlsVersion") private @Nullable Output minimalTlsVersion; @@ -251,6 +253,8 @@ public Optional> managedHsmKeyId() { /** * @return Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * */ public Optional> minimalTlsVersion() { return Optional.ofNullable(this.minimalTlsVersion); @@ -953,6 +957,8 @@ public Builder managedHsmKeyId(String managedHsmKeyId) { /** * @param minimalTlsVersion Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * * @return builder * */ @@ -964,6 +970,8 @@ public Builder minimalTlsVersion(@Nullable Output minimalTlsVersion) { /** * @param minimalTlsVersion Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. * + * > **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 details. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKey.java b/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKey.java new file mode 100644 index 0000000000..0eac5e311b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKey.java @@ -0,0 +1,104 @@ +// *** 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.databricks; + +import com.pulumi.azure.Utilities; +import com.pulumi.azure.databricks.WorkspaceCustomerManagedKeyArgs; +import com.pulumi.azure.databricks.inputs.WorkspaceCustomerManagedKeyState; +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 javax.annotation.Nullable; + +/** + * ## Import + * + * Databrick Workspaces can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 + * ``` + * + */ +@ResourceType(type="azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey") +public class WorkspaceCustomerManagedKey extends com.pulumi.resources.CustomResource { + @Export(name="keyVaultKeyId", refs={String.class}, tree="[0]") + private Output keyVaultKeyId; + + public Output keyVaultKeyId() { + return this.keyVaultKeyId; + } + /** + * The unique identifier of the databricks workspace in Databricks control plane. + * + */ + @Export(name="workspaceId", refs={String.class}, tree="[0]") + private Output workspaceId; + + /** + * @return The unique identifier of the databricks workspace in Databricks control plane. + * + */ + public Output workspaceId() { + return this.workspaceId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public WorkspaceCustomerManagedKey(java.lang.String name) { + this(name, WorkspaceCustomerManagedKeyArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public WorkspaceCustomerManagedKey(java.lang.String name, WorkspaceCustomerManagedKeyArgs 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 WorkspaceCustomerManagedKey(java.lang.String name, WorkspaceCustomerManagedKeyArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private WorkspaceCustomerManagedKey(java.lang.String name, Output id, @Nullable WorkspaceCustomerManagedKeyState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey", name, state, makeResourceOptions(options, id), false); + } + + private static WorkspaceCustomerManagedKeyArgs makeArgs(WorkspaceCustomerManagedKeyArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? WorkspaceCustomerManagedKeyArgs.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 WorkspaceCustomerManagedKey get(java.lang.String name, Output id, @Nullable WorkspaceCustomerManagedKeyState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new WorkspaceCustomerManagedKey(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKeyArgs.java b/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKeyArgs.java new file mode 100644 index 0000000000..156ccb0233 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/databricks/WorkspaceCustomerManagedKeyArgs.java @@ -0,0 +1,105 @@ +// *** 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.databricks; + +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 WorkspaceCustomerManagedKeyArgs extends com.pulumi.resources.ResourceArgs { + + public static final WorkspaceCustomerManagedKeyArgs Empty = new WorkspaceCustomerManagedKeyArgs(); + + @Import(name="keyVaultKeyId", required=true) + private Output keyVaultKeyId; + + public Output keyVaultKeyId() { + return this.keyVaultKeyId; + } + + /** + * The unique identifier of the databricks workspace in Databricks control plane. + * + */ + @Import(name="workspaceId", required=true) + private Output workspaceId; + + /** + * @return The unique identifier of the databricks workspace in Databricks control plane. + * + */ + public Output workspaceId() { + return this.workspaceId; + } + + private WorkspaceCustomerManagedKeyArgs() {} + + private WorkspaceCustomerManagedKeyArgs(WorkspaceCustomerManagedKeyArgs $) { + this.keyVaultKeyId = $.keyVaultKeyId; + this.workspaceId = $.workspaceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WorkspaceCustomerManagedKeyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WorkspaceCustomerManagedKeyArgs $; + + public Builder() { + $ = new WorkspaceCustomerManagedKeyArgs(); + } + + public Builder(WorkspaceCustomerManagedKeyArgs defaults) { + $ = new WorkspaceCustomerManagedKeyArgs(Objects.requireNonNull(defaults)); + } + + public Builder keyVaultKeyId(Output keyVaultKeyId) { + $.keyVaultKeyId = keyVaultKeyId; + return this; + } + + public Builder keyVaultKeyId(String keyVaultKeyId) { + return keyVaultKeyId(Output.of(keyVaultKeyId)); + } + + /** + * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. + * + * @return builder + * + */ + public Builder workspaceId(Output workspaceId) { + $.workspaceId = workspaceId; + return this; + } + + /** + * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. + * + * @return builder + * + */ + public Builder workspaceId(String workspaceId) { + return workspaceId(Output.of(workspaceId)); + } + + public WorkspaceCustomerManagedKeyArgs build() { + if ($.keyVaultKeyId == null) { + throw new MissingRequiredPropertyException("WorkspaceCustomerManagedKeyArgs", "keyVaultKeyId"); + } + if ($.workspaceId == null) { + throw new MissingRequiredPropertyException("WorkspaceCustomerManagedKeyArgs", "workspaceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/databricks/inputs/WorkspaceCustomerManagedKeyState.java b/sdk/java/src/main/java/com/pulumi/azure/databricks/inputs/WorkspaceCustomerManagedKeyState.java new file mode 100644 index 0000000000..10fe933c76 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/databricks/inputs/WorkspaceCustomerManagedKeyState.java @@ -0,0 +1,100 @@ +// *** 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.databricks.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 WorkspaceCustomerManagedKeyState extends com.pulumi.resources.ResourceArgs { + + public static final WorkspaceCustomerManagedKeyState Empty = new WorkspaceCustomerManagedKeyState(); + + @Import(name="keyVaultKeyId") + private @Nullable Output keyVaultKeyId; + + public Optional> keyVaultKeyId() { + return Optional.ofNullable(this.keyVaultKeyId); + } + + /** + * The unique identifier of the databricks workspace in Databricks control plane. + * + */ + @Import(name="workspaceId") + private @Nullable Output workspaceId; + + /** + * @return The unique identifier of the databricks workspace in Databricks control plane. + * + */ + public Optional> workspaceId() { + return Optional.ofNullable(this.workspaceId); + } + + private WorkspaceCustomerManagedKeyState() {} + + private WorkspaceCustomerManagedKeyState(WorkspaceCustomerManagedKeyState $) { + this.keyVaultKeyId = $.keyVaultKeyId; + this.workspaceId = $.workspaceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WorkspaceCustomerManagedKeyState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WorkspaceCustomerManagedKeyState $; + + public Builder() { + $ = new WorkspaceCustomerManagedKeyState(); + } + + public Builder(WorkspaceCustomerManagedKeyState defaults) { + $ = new WorkspaceCustomerManagedKeyState(Objects.requireNonNull(defaults)); + } + + public Builder keyVaultKeyId(@Nullable Output keyVaultKeyId) { + $.keyVaultKeyId = keyVaultKeyId; + return this; + } + + public Builder keyVaultKeyId(String keyVaultKeyId) { + return keyVaultKeyId(Output.of(keyVaultKeyId)); + } + + /** + * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. + * + * @return builder + * + */ + public Builder workspaceId(@Nullable Output workspaceId) { + $.workspaceId = workspaceId; + return this; + } + + /** + * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. + * + * @return builder + * + */ + public Builder workspaceId(String workspaceId) { + return workspaceId(Output.of(workspaceId)); + } + + public WorkspaceCustomerManagedKeyState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/Namespace.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/Namespace.java new file mode 100644 index 0000000000..3239baa6f7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/Namespace.java @@ -0,0 +1,278 @@ +// *** 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.eventgrid; + +import com.pulumi.azure.Utilities; +import com.pulumi.azure.eventgrid.NamespaceArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceState; +import com.pulumi.azure.eventgrid.outputs.NamespaceIdentity; +import com.pulumi.azure.eventgrid.outputs.NamespaceInboundIpRule; +import com.pulumi.azure.eventgrid.outputs.NamespaceTopicSpacesConfiguration; +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.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages an EventGrid Namespace + * + * ## 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.eventgrid.Namespace;
+ * import com.pulumi.azure.eventgrid.NamespaceArgs;
+ * 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("West Europe")
+ *             .build());
+ * 
+ *         var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()
+ *             .name("my-eventgrid-namespace")
+ *             .location(example.location())
+ *             .resourceGroupName(example.name())
+ *             .tags(Map.of("environment", "Production"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * EventGrid Namespace's can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 + * ``` + * + */ +@ResourceType(type="azure:eventgrid/namespace:Namespace") +public class Namespace extends com.pulumi.resources.CustomResource { + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + @Export(name="capacity", refs={Integer.class}, tree="[0]") + private Output capacity; + + /** + * @return Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + public Output> capacity() { + return Codegen.optional(this.capacity); + } + /** + * An `identity` block as defined below. + * + */ + @Export(name="identity", refs={NamespaceIdentity.class}, tree="[0]") + private Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Output> identity() { + return Codegen.optional(this.identity); + } + /** + * One or more `inbound_ip_rule` blocks as defined below. + * + */ + @Export(name="inboundIpRules", refs={List.class,NamespaceInboundIpRule.class}, tree="[0,1]") + private Output> inboundIpRules; + + /** + * @return One or more `inbound_ip_rule` blocks as defined below. + * + */ + public Output>> inboundIpRules() { + return Codegen.optional(this.inboundIpRules); + } + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + @Export(name="location", refs={String.class}, tree="[0]") + private Output location; + + /** + * @return Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + public Output location() { + return this.location; + } + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + public Output name() { + return this.name; + } + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + @Export(name="publicNetworkAccess", refs={String.class}, tree="[0]") + private Output publicNetworkAccess; + + /** + * @return Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + public Output> publicNetworkAccess() { + return Codegen.optional(this.publicNetworkAccess); + } + /** + * The name of the resource group in which the Event Grid Namespace should exist. 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 the Event Grid Namespace should exist. Changing this forces a new resource to be created. + * + */ + public Output resourceGroupName() { + return this.resourceGroupName; + } + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + @Export(name="sku", refs={String.class}, tree="[0]") + private Output sku; + + /** + * @return Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + public Output> sku() { + return Codegen.optional(this.sku); + } + /** + * A mapping of tags to assign to the resource. + * + */ + @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> tags; + + /** + * @return A mapping of tags to assign to the resource. + * + */ + public Output>> tags() { + return Codegen.optional(this.tags); + } + /** + * A `topic_spaces_configuration` block as defined below. + * + */ + @Export(name="topicSpacesConfigurations", refs={List.class,NamespaceTopicSpacesConfiguration.class}, tree="[0,1]") + private Output> topicSpacesConfigurations; + + /** + * @return A `topic_spaces_configuration` block as defined below. + * + */ + public Output>> topicSpacesConfigurations() { + return Codegen.optional(this.topicSpacesConfigurations); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Namespace(java.lang.String name) { + this(name, NamespaceArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Namespace(java.lang.String name, NamespaceArgs 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 Namespace(java.lang.String name, NamespaceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:eventgrid/namespace:Namespace", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private Namespace(java.lang.String name, Output id, @Nullable NamespaceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("azure:eventgrid/namespace:Namespace", name, state, makeResourceOptions(options, id), false); + } + + private static NamespaceArgs makeArgs(NamespaceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? NamespaceArgs.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 Namespace get(java.lang.String name, Output id, @Nullable NamespaceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Namespace(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/NamespaceArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/NamespaceArgs.java new file mode 100644 index 0000000000..e1e80b971b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/NamespaceArgs.java @@ -0,0 +1,446 @@ +// *** 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.eventgrid; + +import com.pulumi.azure.eventgrid.inputs.NamespaceIdentityArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceInboundIpRuleArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceTopicSpacesConfigurationArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +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 NamespaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceArgs Empty = new NamespaceArgs(); + + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + @Import(name="capacity") + private @Nullable Output capacity; + + /** + * @return Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + public Optional> capacity() { + return Optional.ofNullable(this.capacity); + } + + /** + * An `identity` block as defined below. + * + */ + @Import(name="identity") + private @Nullable Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Optional> identity() { + return Optional.ofNullable(this.identity); + } + + /** + * One or more `inbound_ip_rule` blocks as defined below. + * + */ + @Import(name="inboundIpRules") + private @Nullable Output> inboundIpRules; + + /** + * @return One or more `inbound_ip_rule` blocks as defined below. + * + */ + public Optional>> inboundIpRules() { + return Optional.ofNullable(this.inboundIpRules); + } + + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + @Import(name="location") + private @Nullable Output location; + + /** + * @return Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + public Optional> location() { + return Optional.ofNullable(this.location); + } + + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + @Import(name="publicNetworkAccess") + private @Nullable Output publicNetworkAccess; + + /** + * @return Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + public Optional> publicNetworkAccess() { + return Optional.ofNullable(this.publicNetworkAccess); + } + + /** + * The name of the resource group in which the Event Grid Namespace should exist. 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 the Event Grid Namespace should exist. Changing this forces a new resource to be created. + * + */ + public Output resourceGroupName() { + return this.resourceGroupName; + } + + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + @Import(name="sku") + private @Nullable Output sku; + + /** + * @return Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + public Optional> sku() { + return Optional.ofNullable(this.sku); + } + + /** + * A mapping of tags to assign to the resource. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the resource. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + /** + * A `topic_spaces_configuration` block as defined below. + * + */ + @Import(name="topicSpacesConfigurations") + private @Nullable Output> topicSpacesConfigurations; + + /** + * @return A `topic_spaces_configuration` block as defined below. + * + */ + public Optional>> topicSpacesConfigurations() { + return Optional.ofNullable(this.topicSpacesConfigurations); + } + + private NamespaceArgs() {} + + private NamespaceArgs(NamespaceArgs $) { + this.capacity = $.capacity; + this.identity = $.identity; + this.inboundIpRules = $.inboundIpRules; + this.location = $.location; + this.name = $.name; + this.publicNetworkAccess = $.publicNetworkAccess; + this.resourceGroupName = $.resourceGroupName; + this.sku = $.sku; + this.tags = $.tags; + this.topicSpacesConfigurations = $.topicSpacesConfigurations; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceArgs $; + + public Builder() { + $ = new NamespaceArgs(); + } + + public Builder(NamespaceArgs defaults) { + $ = new NamespaceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param capacity Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + * @return builder + * + */ + public Builder capacity(@Nullable Output capacity) { + $.capacity = capacity; + return this; + } + + /** + * @param capacity Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + * @return builder + * + */ + public Builder capacity(Integer capacity) { + return capacity(Output.of(capacity)); + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(@Nullable Output identity) { + $.identity = identity; + return this; + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(NamespaceIdentityArgs identity) { + return identity(Output.of(identity)); + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(@Nullable Output> inboundIpRules) { + $.inboundIpRules = inboundIpRules; + return this; + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(List inboundIpRules) { + return inboundIpRules(Output.of(inboundIpRules)); + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(NamespaceInboundIpRuleArgs... inboundIpRules) { + return inboundIpRules(List.of(inboundIpRules)); + } + + /** + * @param location Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(@Nullable Output location) { + $.location = location; + return this; + } + + /** + * @param location Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(String location) { + return location(Output.of(location)); + } + + /** + * @param name Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param publicNetworkAccess Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + * @return builder + * + */ + public Builder publicNetworkAccess(@Nullable Output publicNetworkAccess) { + $.publicNetworkAccess = publicNetworkAccess; + return this; + } + + /** + * @param publicNetworkAccess Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + * @return builder + * + */ + public Builder publicNetworkAccess(String publicNetworkAccess) { + return publicNetworkAccess(Output.of(publicNetworkAccess)); + } + + /** + * @param resourceGroupName The name of the resource group in which the Event Grid Namespace should exist. 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 the Event Grid Namespace should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(String resourceGroupName) { + return resourceGroupName(Output.of(resourceGroupName)); + } + + /** + * @param sku Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + * @return builder + * + */ + public Builder sku(@Nullable Output sku) { + $.sku = sku; + return this; + } + + /** + * @param sku Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + * @return builder + * + */ + public Builder sku(String sku) { + return sku(Output.of(sku)); + } + + /** + * @param tags A mapping of tags to assign to the resource. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the resource. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(@Nullable Output> topicSpacesConfigurations) { + $.topicSpacesConfigurations = topicSpacesConfigurations; + return this; + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(List topicSpacesConfigurations) { + return topicSpacesConfigurations(Output.of(topicSpacesConfigurations)); + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(NamespaceTopicSpacesConfigurationArgs... topicSpacesConfigurations) { + return topicSpacesConfigurations(List.of(topicSpacesConfigurations)); + } + + public NamespaceArgs build() { + if ($.resourceGroupName == null) { + throw new MissingRequiredPropertyException("NamespaceArgs", "resourceGroupName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceIdentityArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceIdentityArgs.java new file mode 100644 index 0000000000..e21a81817b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceIdentityArgs.java @@ -0,0 +1,179 @@ +// *** 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.eventgrid.inputs; + +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.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class NamespaceIdentityArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceIdentityArgs Empty = new NamespaceIdentityArgs(); + + /** + * Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + */ + @Import(name="identityIds") + private @Nullable Output> identityIds; + + /** + * @return Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + */ + public Optional>> identityIds() { + return Optional.ofNullable(this.identityIds); + } + + @Import(name="principalId") + private @Nullable Output principalId; + + public Optional> principalId() { + return Optional.ofNullable(this.principalId); + } + + @Import(name="tenantId") + private @Nullable Output tenantId; + + public Optional> tenantId() { + return Optional.ofNullable(this.tenantId); + } + + /** + * Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + */ + public Output type() { + return this.type; + } + + private NamespaceIdentityArgs() {} + + private NamespaceIdentityArgs(NamespaceIdentityArgs $) { + this.identityIds = $.identityIds; + this.principalId = $.principalId; + this.tenantId = $.tenantId; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceIdentityArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceIdentityArgs $; + + public Builder() { + $ = new NamespaceIdentityArgs(); + } + + public Builder(NamespaceIdentityArgs defaults) { + $ = new NamespaceIdentityArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identityIds Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + * @return builder + * + */ + public Builder identityIds(@Nullable Output> identityIds) { + $.identityIds = identityIds; + return this; + } + + /** + * @param identityIds Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + * @return builder + * + */ + public Builder identityIds(List identityIds) { + return identityIds(Output.of(identityIds)); + } + + /** + * @param identityIds Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + * @return builder + * + */ + public Builder identityIds(String... identityIds) { + return identityIds(List.of(identityIds)); + } + + public Builder principalId(@Nullable Output principalId) { + $.principalId = principalId; + return this; + } + + public Builder principalId(String principalId) { + return principalId(Output.of(principalId)); + } + + public Builder tenantId(@Nullable Output tenantId) { + $.tenantId = tenantId; + return this; + } + + public Builder tenantId(String tenantId) { + return tenantId(Output.of(tenantId)); + } + + /** + * @param type Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public NamespaceIdentityArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("NamespaceIdentityArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceInboundIpRuleArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceInboundIpRuleArgs.java new file mode 100644 index 0000000000..ff2dc88eb4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceInboundIpRuleArgs.java @@ -0,0 +1,124 @@ +// *** 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.eventgrid.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; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class NamespaceInboundIpRuleArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceInboundIpRuleArgs Empty = new NamespaceInboundIpRuleArgs(); + + /** + * The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + */ + @Import(name="action") + private @Nullable Output action; + + /** + * @return The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + */ + public Optional> action() { + return Optional.ofNullable(this.action); + } + + /** + * The IP mask (CIDR) to match on. + * + */ + @Import(name="ipMask", required=true) + private Output ipMask; + + /** + * @return The IP mask (CIDR) to match on. + * + */ + public Output ipMask() { + return this.ipMask; + } + + private NamespaceInboundIpRuleArgs() {} + + private NamespaceInboundIpRuleArgs(NamespaceInboundIpRuleArgs $) { + this.action = $.action; + this.ipMask = $.ipMask; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceInboundIpRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceInboundIpRuleArgs $; + + public Builder() { + $ = new NamespaceInboundIpRuleArgs(); + } + + public Builder(NamespaceInboundIpRuleArgs defaults) { + $ = new NamespaceInboundIpRuleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param action The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + * @return builder + * + */ + public Builder action(@Nullable Output action) { + $.action = action; + return this; + } + + /** + * @param action The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + * @return builder + * + */ + public Builder action(String action) { + return action(Output.of(action)); + } + + /** + * @param ipMask The IP mask (CIDR) to match on. + * + * @return builder + * + */ + public Builder ipMask(Output ipMask) { + $.ipMask = ipMask; + return this; + } + + /** + * @param ipMask The IP mask (CIDR) to match on. + * + * @return builder + * + */ + public Builder ipMask(String ipMask) { + return ipMask(Output.of(ipMask)); + } + + public NamespaceInboundIpRuleArgs build() { + if ($.ipMask == null) { + throw new MissingRequiredPropertyException("NamespaceInboundIpRuleArgs", "ipMask"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceState.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceState.java new file mode 100644 index 0000000000..50c6b7c5bd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceState.java @@ -0,0 +1,442 @@ +// *** 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.eventgrid.inputs; + +import com.pulumi.azure.eventgrid.inputs.NamespaceIdentityArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceInboundIpRuleArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceTopicSpacesConfigurationArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +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 NamespaceState extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceState Empty = new NamespaceState(); + + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + @Import(name="capacity") + private @Nullable Output capacity; + + /** + * @return Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + */ + public Optional> capacity() { + return Optional.ofNullable(this.capacity); + } + + /** + * An `identity` block as defined below. + * + */ + @Import(name="identity") + private @Nullable Output identity; + + /** + * @return An `identity` block as defined below. + * + */ + public Optional> identity() { + return Optional.ofNullable(this.identity); + } + + /** + * One or more `inbound_ip_rule` blocks as defined below. + * + */ + @Import(name="inboundIpRules") + private @Nullable Output> inboundIpRules; + + /** + * @return One or more `inbound_ip_rule` blocks as defined below. + * + */ + public Optional>> inboundIpRules() { + return Optional.ofNullable(this.inboundIpRules); + } + + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + @Import(name="location") + private @Nullable Output location; + + /** + * @return Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + */ + public Optional> location() { + return Optional.ofNullable(this.location); + } + + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + @Import(name="publicNetworkAccess") + private @Nullable Output publicNetworkAccess; + + /** + * @return Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + */ + public Optional> publicNetworkAccess() { + return Optional.ofNullable(this.publicNetworkAccess); + } + + /** + * The name of the resource group in which the Event Grid Namespace should exist. 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 the Event Grid Namespace should exist. Changing this forces a new resource to be created. + * + */ + public Optional> resourceGroupName() { + return Optional.ofNullable(this.resourceGroupName); + } + + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + @Import(name="sku") + private @Nullable Output sku; + + /** + * @return Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + */ + public Optional> sku() { + return Optional.ofNullable(this.sku); + } + + /** + * A mapping of tags to assign to the resource. + * + */ + @Import(name="tags") + private @Nullable Output> tags; + + /** + * @return A mapping of tags to assign to the resource. + * + */ + public Optional>> tags() { + return Optional.ofNullable(this.tags); + } + + /** + * A `topic_spaces_configuration` block as defined below. + * + */ + @Import(name="topicSpacesConfigurations") + private @Nullable Output> topicSpacesConfigurations; + + /** + * @return A `topic_spaces_configuration` block as defined below. + * + */ + public Optional>> topicSpacesConfigurations() { + return Optional.ofNullable(this.topicSpacesConfigurations); + } + + private NamespaceState() {} + + private NamespaceState(NamespaceState $) { + this.capacity = $.capacity; + this.identity = $.identity; + this.inboundIpRules = $.inboundIpRules; + this.location = $.location; + this.name = $.name; + this.publicNetworkAccess = $.publicNetworkAccess; + this.resourceGroupName = $.resourceGroupName; + this.sku = $.sku; + this.tags = $.tags; + this.topicSpacesConfigurations = $.topicSpacesConfigurations; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceState $; + + public Builder() { + $ = new NamespaceState(); + } + + public Builder(NamespaceState defaults) { + $ = new NamespaceState(Objects.requireNonNull(defaults)); + } + + /** + * @param capacity Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + * @return builder + * + */ + public Builder capacity(@Nullable Output capacity) { + $.capacity = capacity; + return this; + } + + /** + * @param capacity Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + * + * @return builder + * + */ + public Builder capacity(Integer capacity) { + return capacity(Output.of(capacity)); + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(@Nullable Output identity) { + $.identity = identity; + return this; + } + + /** + * @param identity An `identity` block as defined below. + * + * @return builder + * + */ + public Builder identity(NamespaceIdentityArgs identity) { + return identity(Output.of(identity)); + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(@Nullable Output> inboundIpRules) { + $.inboundIpRules = inboundIpRules; + return this; + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(List inboundIpRules) { + return inboundIpRules(Output.of(inboundIpRules)); + } + + /** + * @param inboundIpRules One or more `inbound_ip_rule` blocks as defined below. + * + * @return builder + * + */ + public Builder inboundIpRules(NamespaceInboundIpRuleArgs... inboundIpRules) { + return inboundIpRules(List.of(inboundIpRules)); + } + + /** + * @param location Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(@Nullable Output location) { + $.location = location; + return this; + } + + /** + * @param location Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder location(String location) { + return location(Output.of(location)); + } + + /** + * @param name Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param publicNetworkAccess Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + * @return builder + * + */ + public Builder publicNetworkAccess(@Nullable Output publicNetworkAccess) { + $.publicNetworkAccess = publicNetworkAccess; + return this; + } + + /** + * @param publicNetworkAccess Whether or not public network access is allowed for this server. Defaults to `Enabled`. + * + * @return builder + * + */ + public Builder publicNetworkAccess(String publicNetworkAccess) { + return publicNetworkAccess(Output.of(publicNetworkAccess)); + } + + /** + * @param resourceGroupName The name of the resource group in which the Event Grid Namespace should exist. 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 the Event Grid Namespace should exist. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder resourceGroupName(String resourceGroupName) { + return resourceGroupName(Output.of(resourceGroupName)); + } + + /** + * @param sku Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + * @return builder + * + */ + public Builder sku(@Nullable Output sku) { + $.sku = sku; + return this; + } + + /** + * @param sku Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + * + * @return builder + * + */ + public Builder sku(String sku) { + return sku(Output.of(sku)); + } + + /** + * @param tags A mapping of tags to assign to the resource. + * + * @return builder + * + */ + public Builder tags(@Nullable Output> tags) { + $.tags = tags; + return this; + } + + /** + * @param tags A mapping of tags to assign to the resource. + * + * @return builder + * + */ + public Builder tags(Map tags) { + return tags(Output.of(tags)); + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(@Nullable Output> topicSpacesConfigurations) { + $.topicSpacesConfigurations = topicSpacesConfigurations; + return this; + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(List topicSpacesConfigurations) { + return topicSpacesConfigurations(Output.of(topicSpacesConfigurations)); + } + + /** + * @param topicSpacesConfigurations A `topic_spaces_configuration` block as defined below. + * + * @return builder + * + */ + public Builder topicSpacesConfigurations(NamespaceTopicSpacesConfigurationArgs... topicSpacesConfigurations) { + return topicSpacesConfigurations(List.of(topicSpacesConfigurations)); + } + + public NamespaceState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationArgs.java new file mode 100644 index 0000000000..276c288b9f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationArgs.java @@ -0,0 +1,302 @@ +// *** 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.eventgrid.inputs; + +import com.pulumi.azure.eventgrid.inputs.NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs; +import com.pulumi.azure.eventgrid.inputs.NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class NamespaceTopicSpacesConfigurationArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceTopicSpacesConfigurationArgs Empty = new NamespaceTopicSpacesConfigurationArgs(); + + /** + * Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + */ + @Import(name="alternativeAuthenticationNameSources") + private @Nullable Output> alternativeAuthenticationNameSources; + + /** + * @return Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + */ + public Optional>> alternativeAuthenticationNameSources() { + return Optional.ofNullable(this.alternativeAuthenticationNameSources); + } + + /** + * One or more `dynamic_routing_enrichment` blocks as defined below. + * + */ + @Import(name="dynamicRoutingEnrichments") + private @Nullable Output> dynamicRoutingEnrichments; + + /** + * @return One or more `dynamic_routing_enrichment` blocks as defined below. + * + */ + public Optional>> dynamicRoutingEnrichments() { + return Optional.ofNullable(this.dynamicRoutingEnrichments); + } + + /** + * Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + */ + @Import(name="maximumClientSessionsPerAuthenticationName") + private @Nullable Output maximumClientSessionsPerAuthenticationName; + + /** + * @return Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + */ + public Optional> maximumClientSessionsPerAuthenticationName() { + return Optional.ofNullable(this.maximumClientSessionsPerAuthenticationName); + } + + /** + * Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + */ + @Import(name="maximumSessionExpiryInHours") + private @Nullable Output maximumSessionExpiryInHours; + + /** + * @return Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + */ + public Optional> maximumSessionExpiryInHours() { + return Optional.ofNullable(this.maximumSessionExpiryInHours); + } + + /** + * Specifies the Event Grid topic resource ID to route messages to. + * + */ + @Import(name="routeTopicId") + private @Nullable Output routeTopicId; + + /** + * @return Specifies the Event Grid topic resource ID to route messages to. + * + */ + public Optional> routeTopicId() { + return Optional.ofNullable(this.routeTopicId); + } + + /** + * One or more `static_routing_enrichment` blocks as defined below. + * + */ + @Import(name="staticRoutingEnrichments") + private @Nullable Output> staticRoutingEnrichments; + + /** + * @return One or more `static_routing_enrichment` blocks as defined below. + * + */ + public Optional>> staticRoutingEnrichments() { + return Optional.ofNullable(this.staticRoutingEnrichments); + } + + private NamespaceTopicSpacesConfigurationArgs() {} + + private NamespaceTopicSpacesConfigurationArgs(NamespaceTopicSpacesConfigurationArgs $) { + this.alternativeAuthenticationNameSources = $.alternativeAuthenticationNameSources; + this.dynamicRoutingEnrichments = $.dynamicRoutingEnrichments; + this.maximumClientSessionsPerAuthenticationName = $.maximumClientSessionsPerAuthenticationName; + this.maximumSessionExpiryInHours = $.maximumSessionExpiryInHours; + this.routeTopicId = $.routeTopicId; + this.staticRoutingEnrichments = $.staticRoutingEnrichments; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceTopicSpacesConfigurationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceTopicSpacesConfigurationArgs $; + + public Builder() { + $ = new NamespaceTopicSpacesConfigurationArgs(); + } + + public Builder(NamespaceTopicSpacesConfigurationArgs defaults) { + $ = new NamespaceTopicSpacesConfigurationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param alternativeAuthenticationNameSources Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + * @return builder + * + */ + public Builder alternativeAuthenticationNameSources(@Nullable Output> alternativeAuthenticationNameSources) { + $.alternativeAuthenticationNameSources = alternativeAuthenticationNameSources; + return this; + } + + /** + * @param alternativeAuthenticationNameSources Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + * @return builder + * + */ + public Builder alternativeAuthenticationNameSources(List alternativeAuthenticationNameSources) { + return alternativeAuthenticationNameSources(Output.of(alternativeAuthenticationNameSources)); + } + + /** + * @param alternativeAuthenticationNameSources Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + * @return builder + * + */ + public Builder alternativeAuthenticationNameSources(String... alternativeAuthenticationNameSources) { + return alternativeAuthenticationNameSources(List.of(alternativeAuthenticationNameSources)); + } + + /** + * @param dynamicRoutingEnrichments One or more `dynamic_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder dynamicRoutingEnrichments(@Nullable Output> dynamicRoutingEnrichments) { + $.dynamicRoutingEnrichments = dynamicRoutingEnrichments; + return this; + } + + /** + * @param dynamicRoutingEnrichments One or more `dynamic_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder dynamicRoutingEnrichments(List dynamicRoutingEnrichments) { + return dynamicRoutingEnrichments(Output.of(dynamicRoutingEnrichments)); + } + + /** + * @param dynamicRoutingEnrichments One or more `dynamic_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder dynamicRoutingEnrichments(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs... dynamicRoutingEnrichments) { + return dynamicRoutingEnrichments(List.of(dynamicRoutingEnrichments)); + } + + /** + * @param maximumClientSessionsPerAuthenticationName Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + * @return builder + * + */ + public Builder maximumClientSessionsPerAuthenticationName(@Nullable Output maximumClientSessionsPerAuthenticationName) { + $.maximumClientSessionsPerAuthenticationName = maximumClientSessionsPerAuthenticationName; + return this; + } + + /** + * @param maximumClientSessionsPerAuthenticationName Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + * @return builder + * + */ + public Builder maximumClientSessionsPerAuthenticationName(Integer maximumClientSessionsPerAuthenticationName) { + return maximumClientSessionsPerAuthenticationName(Output.of(maximumClientSessionsPerAuthenticationName)); + } + + /** + * @param maximumSessionExpiryInHours Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + * @return builder + * + */ + public Builder maximumSessionExpiryInHours(@Nullable Output maximumSessionExpiryInHours) { + $.maximumSessionExpiryInHours = maximumSessionExpiryInHours; + return this; + } + + /** + * @param maximumSessionExpiryInHours Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + * @return builder + * + */ + public Builder maximumSessionExpiryInHours(Integer maximumSessionExpiryInHours) { + return maximumSessionExpiryInHours(Output.of(maximumSessionExpiryInHours)); + } + + /** + * @param routeTopicId Specifies the Event Grid topic resource ID to route messages to. + * + * @return builder + * + */ + public Builder routeTopicId(@Nullable Output routeTopicId) { + $.routeTopicId = routeTopicId; + return this; + } + + /** + * @param routeTopicId Specifies the Event Grid topic resource ID to route messages to. + * + * @return builder + * + */ + public Builder routeTopicId(String routeTopicId) { + return routeTopicId(Output.of(routeTopicId)); + } + + /** + * @param staticRoutingEnrichments One or more `static_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder staticRoutingEnrichments(@Nullable Output> staticRoutingEnrichments) { + $.staticRoutingEnrichments = staticRoutingEnrichments; + return this; + } + + /** + * @param staticRoutingEnrichments One or more `static_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder staticRoutingEnrichments(List staticRoutingEnrichments) { + return staticRoutingEnrichments(Output.of(staticRoutingEnrichments)); + } + + /** + * @param staticRoutingEnrichments One or more `static_routing_enrichment` blocks as defined below. + * + * @return builder + * + */ + public Builder staticRoutingEnrichments(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs... staticRoutingEnrichments) { + return staticRoutingEnrichments(List.of(staticRoutingEnrichments)); + } + + public NamespaceTopicSpacesConfigurationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.java new file mode 100644 index 0000000000..7e02275320 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs.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.eventgrid.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 NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs Empty = new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs(); + + /** + * The enrichment key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The enrichment key. + * + */ + public Output key() { + return this.key; + } + + /** + * The enrichment value. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return The enrichment value. + * + */ + public Output value() { + return this.value; + } + + private NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs() {} + + private NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs $; + + public Builder() { + $ = new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs(); + } + + public Builder(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs defaults) { + $ = new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The enrichment key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The enrichment key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param value The enrichment value. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value The enrichment value. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs", "key"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.java new file mode 100644 index 0000000000..3170a5cc2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/inputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs.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.eventgrid.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 NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs extends com.pulumi.resources.ResourceArgs { + + public static final NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs Empty = new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs(); + + /** + * The enrichment key. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return The enrichment key. + * + */ + public Output key() { + return this.key; + } + + /** + * The enrichment value. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return The enrichment value. + * + */ + public Output value() { + return this.value; + } + + private NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs() {} + + private NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs $) { + this.key = $.key; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs $; + + public Builder() { + $ = new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs(); + } + + public Builder(NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs defaults) { + $ = new NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param key The enrichment key. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key The enrichment key. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param value The enrichment value. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value The enrichment value. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs", "key"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceIdentity.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceIdentity.java new file mode 100644 index 0000000000..62434e0b01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceIdentity.java @@ -0,0 +1,115 @@ +// *** 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.eventgrid.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class NamespaceIdentity { + /** + * @return Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + */ + private @Nullable List identityIds; + private @Nullable String principalId; + private @Nullable String tenantId; + /** + * @return Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + */ + private String type; + + private NamespaceIdentity() {} + /** + * @return Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + * + */ + public List identityIds() { + return this.identityIds == null ? List.of() : this.identityIds; + } + public Optional principalId() { + return Optional.ofNullable(this.principalId); + } + public Optional tenantId() { + return Optional.ofNullable(this.tenantId); + } + /** + * @return Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NamespaceIdentity defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List identityIds; + private @Nullable String principalId; + private @Nullable String tenantId; + private String type; + public Builder() {} + public Builder(NamespaceIdentity defaults) { + Objects.requireNonNull(defaults); + this.identityIds = defaults.identityIds; + this.principalId = defaults.principalId; + this.tenantId = defaults.tenantId; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder identityIds(@Nullable List identityIds) { + + this.identityIds = identityIds; + return this; + } + public Builder identityIds(String... identityIds) { + return identityIds(List.of(identityIds)); + } + @CustomType.Setter + public Builder principalId(@Nullable String principalId) { + + this.principalId = principalId; + return this; + } + @CustomType.Setter + public Builder tenantId(@Nullable String tenantId) { + + this.tenantId = tenantId; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("NamespaceIdentity", "type"); + } + this.type = type; + return this; + } + public NamespaceIdentity build() { + final var _resultValue = new NamespaceIdentity(); + _resultValue.identityIds = identityIds; + _resultValue.principalId = principalId; + _resultValue.tenantId = tenantId; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceInboundIpRule.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceInboundIpRule.java new file mode 100644 index 0000000000..28568a4d74 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceInboundIpRule.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.eventgrid.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class NamespaceInboundIpRule { + /** + * @return The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + */ + private @Nullable String action; + /** + * @return The IP mask (CIDR) to match on. + * + */ + private String ipMask; + + private NamespaceInboundIpRule() {} + /** + * @return The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + * + */ + public Optional action() { + return Optional.ofNullable(this.action); + } + /** + * @return The IP mask (CIDR) to match on. + * + */ + public String ipMask() { + return this.ipMask; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NamespaceInboundIpRule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String action; + private String ipMask; + public Builder() {} + public Builder(NamespaceInboundIpRule defaults) { + Objects.requireNonNull(defaults); + this.action = defaults.action; + this.ipMask = defaults.ipMask; + } + + @CustomType.Setter + public Builder action(@Nullable String action) { + + this.action = action; + return this; + } + @CustomType.Setter + public Builder ipMask(String ipMask) { + if (ipMask == null) { + throw new MissingRequiredPropertyException("NamespaceInboundIpRule", "ipMask"); + } + this.ipMask = ipMask; + return this; + } + public NamespaceInboundIpRule build() { + final var _resultValue = new NamespaceInboundIpRule(); + _resultValue.action = action; + _resultValue.ipMask = ipMask; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfiguration.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfiguration.java new file mode 100644 index 0000000000..d381d1cc4b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfiguration.java @@ -0,0 +1,175 @@ +// *** 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.eventgrid.outputs; + +import com.pulumi.azure.eventgrid.outputs.NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment; +import com.pulumi.azure.eventgrid.outputs.NamespaceTopicSpacesConfigurationStaticRoutingEnrichment; +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class NamespaceTopicSpacesConfiguration { + /** + * @return Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + */ + private @Nullable List alternativeAuthenticationNameSources; + /** + * @return One or more `dynamic_routing_enrichment` blocks as defined below. + * + */ + private @Nullable List dynamicRoutingEnrichments; + /** + * @return Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + */ + private @Nullable Integer maximumClientSessionsPerAuthenticationName; + /** + * @return Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + */ + private @Nullable Integer maximumSessionExpiryInHours; + /** + * @return Specifies the Event Grid topic resource ID to route messages to. + * + */ + private @Nullable String routeTopicId; + /** + * @return One or more `static_routing_enrichment` blocks as defined below. + * + */ + private @Nullable List staticRoutingEnrichments; + + private NamespaceTopicSpacesConfiguration() {} + /** + * @return Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + * + */ + public List alternativeAuthenticationNameSources() { + return this.alternativeAuthenticationNameSources == null ? List.of() : this.alternativeAuthenticationNameSources; + } + /** + * @return One or more `dynamic_routing_enrichment` blocks as defined below. + * + */ + public List dynamicRoutingEnrichments() { + return this.dynamicRoutingEnrichments == null ? List.of() : this.dynamicRoutingEnrichments; + } + /** + * @return Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + * + */ + public Optional maximumClientSessionsPerAuthenticationName() { + return Optional.ofNullable(this.maximumClientSessionsPerAuthenticationName); + } + /** + * @return Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + * + */ + public Optional maximumSessionExpiryInHours() { + return Optional.ofNullable(this.maximumSessionExpiryInHours); + } + /** + * @return Specifies the Event Grid topic resource ID to route messages to. + * + */ + public Optional routeTopicId() { + return Optional.ofNullable(this.routeTopicId); + } + /** + * @return One or more `static_routing_enrichment` blocks as defined below. + * + */ + public List staticRoutingEnrichments() { + return this.staticRoutingEnrichments == null ? List.of() : this.staticRoutingEnrichments; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NamespaceTopicSpacesConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List alternativeAuthenticationNameSources; + private @Nullable List dynamicRoutingEnrichments; + private @Nullable Integer maximumClientSessionsPerAuthenticationName; + private @Nullable Integer maximumSessionExpiryInHours; + private @Nullable String routeTopicId; + private @Nullable List staticRoutingEnrichments; + public Builder() {} + public Builder(NamespaceTopicSpacesConfiguration defaults) { + Objects.requireNonNull(defaults); + this.alternativeAuthenticationNameSources = defaults.alternativeAuthenticationNameSources; + this.dynamicRoutingEnrichments = defaults.dynamicRoutingEnrichments; + this.maximumClientSessionsPerAuthenticationName = defaults.maximumClientSessionsPerAuthenticationName; + this.maximumSessionExpiryInHours = defaults.maximumSessionExpiryInHours; + this.routeTopicId = defaults.routeTopicId; + this.staticRoutingEnrichments = defaults.staticRoutingEnrichments; + } + + @CustomType.Setter + public Builder alternativeAuthenticationNameSources(@Nullable List alternativeAuthenticationNameSources) { + + this.alternativeAuthenticationNameSources = alternativeAuthenticationNameSources; + return this; + } + public Builder alternativeAuthenticationNameSources(String... alternativeAuthenticationNameSources) { + return alternativeAuthenticationNameSources(List.of(alternativeAuthenticationNameSources)); + } + @CustomType.Setter + public Builder dynamicRoutingEnrichments(@Nullable List dynamicRoutingEnrichments) { + + this.dynamicRoutingEnrichments = dynamicRoutingEnrichments; + return this; + } + public Builder dynamicRoutingEnrichments(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment... dynamicRoutingEnrichments) { + return dynamicRoutingEnrichments(List.of(dynamicRoutingEnrichments)); + } + @CustomType.Setter + public Builder maximumClientSessionsPerAuthenticationName(@Nullable Integer maximumClientSessionsPerAuthenticationName) { + + this.maximumClientSessionsPerAuthenticationName = maximumClientSessionsPerAuthenticationName; + return this; + } + @CustomType.Setter + public Builder maximumSessionExpiryInHours(@Nullable Integer maximumSessionExpiryInHours) { + + this.maximumSessionExpiryInHours = maximumSessionExpiryInHours; + return this; + } + @CustomType.Setter + public Builder routeTopicId(@Nullable String routeTopicId) { + + this.routeTopicId = routeTopicId; + return this; + } + @CustomType.Setter + public Builder staticRoutingEnrichments(@Nullable List staticRoutingEnrichments) { + + this.staticRoutingEnrichments = staticRoutingEnrichments; + return this; + } + public Builder staticRoutingEnrichments(NamespaceTopicSpacesConfigurationStaticRoutingEnrichment... staticRoutingEnrichments) { + return staticRoutingEnrichments(List.of(staticRoutingEnrichments)); + } + public NamespaceTopicSpacesConfiguration build() { + final var _resultValue = new NamespaceTopicSpacesConfiguration(); + _resultValue.alternativeAuthenticationNameSources = alternativeAuthenticationNameSources; + _resultValue.dynamicRoutingEnrichments = dynamicRoutingEnrichments; + _resultValue.maximumClientSessionsPerAuthenticationName = maximumClientSessionsPerAuthenticationName; + _resultValue.maximumSessionExpiryInHours = maximumSessionExpiryInHours; + _resultValue.routeTopicId = routeTopicId; + _resultValue.staticRoutingEnrichments = staticRoutingEnrichments; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.java new file mode 100644 index 0000000000..55c517b27c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment.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.eventgrid.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment { + /** + * @return The enrichment key. + * + */ + private String key; + /** + * @return The enrichment value. + * + */ + private String value; + + private NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment() {} + /** + * @return The enrichment key. + * + */ + public String key() { + return this.key; + } + /** + * @return The enrichment value. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String value; + public Builder() {} + public Builder(NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment", "value"); + } + this.value = value; + return this; + } + public NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment build() { + final var _resultValue = new NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.java b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.java new file mode 100644 index 0000000000..7239ed9e62 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/azure/eventgrid/outputs/NamespaceTopicSpacesConfigurationStaticRoutingEnrichment.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.eventgrid.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class NamespaceTopicSpacesConfigurationStaticRoutingEnrichment { + /** + * @return The enrichment key. + * + */ + private String key; + /** + * @return The enrichment value. + * + */ + private String value; + + private NamespaceTopicSpacesConfigurationStaticRoutingEnrichment() {} + /** + * @return The enrichment key. + * + */ + public String key() { + return this.key; + } + /** + * @return The enrichment value. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NamespaceTopicSpacesConfigurationStaticRoutingEnrichment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String key; + private String value; + public Builder() {} + public Builder(NamespaceTopicSpacesConfigurationStaticRoutingEnrichment defaults) { + Objects.requireNonNull(defaults); + this.key = defaults.key; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder key(String key) { + if (key == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationStaticRoutingEnrichment", "key"); + } + this.key = key; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("NamespaceTopicSpacesConfigurationStaticRoutingEnrichment", "value"); + } + this.value = value; + return this; + } + public NamespaceTopicSpacesConfigurationStaticRoutingEnrichment build() { + final var _resultValue = new NamespaceTopicSpacesConfigurationStaticRoutingEnrichment(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespace.java b/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespace.java index e18d1c1a10..7494460cfb 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespace.java +++ b/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespace.java @@ -266,6 +266,8 @@ public Output> maximumThroughputUnits() { /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. + * */ @Export(name="minimumTlsVersion", refs={String.class}, tree="[0]") private Output minimumTlsVersion; @@ -273,6 +275,8 @@ public Output> maximumThroughputUnits() { /** * @return The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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 Output> minimumTlsVersion() { return Codegen.optional(this.minimumTlsVersion); diff --git a/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespaceArgs.java b/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespaceArgs.java index eae16a6477..9960a30e58 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespaceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/eventhub/EventHubNamespaceArgs.java @@ -129,6 +129,8 @@ public Optional> maximumThroughputUnits() { /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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="minimumTlsVersion") private @Nullable Output minimumTlsVersion; @@ -136,6 +138,8 @@ public Optional> maximumThroughputUnits() { /** * @return The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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> minimumTlsVersion() { return Optional.ofNullable(this.minimumTlsVersion); @@ -418,6 +422,8 @@ public Builder maximumThroughputUnits(Integer maximumThroughputUnits) { /** * @param minimumTlsVersion The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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 * */ @@ -429,6 +435,8 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { /** * @param minimumTlsVersion The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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/eventhub/inputs/EventHubNamespaceState.java b/sdk/java/src/main/java/com/pulumi/azure/eventhub/inputs/EventHubNamespaceState.java index 40517a67a8..0ddd3b13e1 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/eventhub/inputs/EventHubNamespaceState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/eventhub/inputs/EventHubNamespaceState.java @@ -218,6 +218,8 @@ public Optional> maximumThroughputUnits() { /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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="minimumTlsVersion") private @Nullable Output minimumTlsVersion; @@ -225,6 +227,8 @@ public Optional> maximumThroughputUnits() { /** * @return The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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> minimumTlsVersion() { return Optional.ofNullable(this.minimumTlsVersion); @@ -639,6 +643,8 @@ public Builder maximumThroughputUnits(Integer maximumThroughputUnits) { /** * @param minimumTlsVersion The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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 * */ @@ -650,6 +656,8 @@ public Builder minimumTlsVersion(@Nullable Output minimumTlsVersion) { /** * @param minimumTlsVersion The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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/monitoring/AadDiagnosticSetting.java b/sdk/java/src/main/java/com/pulumi/azure/monitoring/AadDiagnosticSetting.java index 0df8e3ce82..00112cef6f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/monitoring/AadDiagnosticSetting.java +++ b/sdk/java/src/main/java/com/pulumi/azure/monitoring/AadDiagnosticSetting.java @@ -38,7 +38,6 @@ * import com.pulumi.azure.monitoring.AadDiagnosticSetting; * import com.pulumi.azure.monitoring.AadDiagnosticSettingArgs; * import com.pulumi.azure.monitoring.inputs.AadDiagnosticSettingEnabledLogArgs; - * import com.pulumi.azure.monitoring.inputs.AadDiagnosticSettingEnabledLogRetentionPolicyArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -72,31 +71,15 @@ * .enabledLogs( * AadDiagnosticSettingEnabledLogArgs.builder() * .category("SignInLogs") - * .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder() - * .enabled(true) - * .days(1) - * .build()) * .build(), * AadDiagnosticSettingEnabledLogArgs.builder() * .category("AuditLogs") - * .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder() - * .enabled(true) - * .days(1) - * .build()) * .build(), * AadDiagnosticSettingEnabledLogArgs.builder() * .category("NonInteractiveUserSignInLogs") - * .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder() - * .enabled(true) - * .days(1) - * .build()) * .build(), * AadDiagnosticSettingEnabledLogArgs.builder() * .category("ServicePrincipalSignInLogs") - * .retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs.builder() - * .enabled(true) - * .days(1) - * .build()) * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogArgs.java b/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogArgs.java index f3d712a267..dfebfb8ed9 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogArgs.java @@ -9,6 +9,8 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class AadDiagnosticSettingEnabledLogArgs extends com.pulumi.resources.ResourceArgs { @@ -31,18 +33,22 @@ public Output category() { } /** - * A `retention_policy` block as defined below. + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings * */ - @Import(name="retentionPolicy", required=true) - private Output retentionPolicy; + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ + @Import(name="retentionPolicy") + private @Nullable Output retentionPolicy; /** - * @return A `retention_policy` block as defined below. + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings * */ - public Output retentionPolicy() { - return this.retentionPolicy; + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ + public Optional> retentionPolicy() { + return Optional.ofNullable(this.retentionPolicy); } private AadDiagnosticSettingEnabledLogArgs() {} @@ -92,22 +98,26 @@ public Builder category(String category) { } /** - * @param retentionPolicy A `retention_policy` block as defined below. - * * @return builder * + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings + * */ - public Builder retentionPolicy(Output retentionPolicy) { + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ + public Builder retentionPolicy(@Nullable Output retentionPolicy) { $.retentionPolicy = retentionPolicy; return this; } /** - * @param retentionPolicy A `retention_policy` block as defined below. - * * @return builder * + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings + * */ + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ public Builder retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicyArgs retentionPolicy) { return retentionPolicy(Output.of(retentionPolicy)); } @@ -116,9 +126,6 @@ public AadDiagnosticSettingEnabledLogArgs build() { if ($.category == null) { throw new MissingRequiredPropertyException("AadDiagnosticSettingEnabledLogArgs", "category"); } - if ($.retentionPolicy == null) { - throw new MissingRequiredPropertyException("AadDiagnosticSettingEnabledLogArgs", "retentionPolicy"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.java index d3bd2e7308..c5a0bc4554 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/monitoring/inputs/AadDiagnosticSettingEnabledLogRetentionPolicyArgs.java @@ -16,32 +16,16 @@ public final class AadDiagnosticSettingEnabledLogRetentionPolicyArgs extends com public static final AadDiagnosticSettingEnabledLogRetentionPolicyArgs Empty = new AadDiagnosticSettingEnabledLogRetentionPolicyArgs(); - /** - * The number of days for which this Retention Policy should apply. Defaults to `0`. - * - */ @Import(name="days") private @Nullable Output days; - /** - * @return The number of days for which this Retention Policy should apply. Defaults to `0`. - * - */ public Optional> days() { return Optional.ofNullable(this.days); } - /** - * Is this Retention Policy enabled? Defaults to `false`. - * - */ @Import(name="enabled") private @Nullable Output enabled; - /** - * @return Is this Retention Policy enabled? Defaults to `false`. - * - */ public Optional> enabled() { return Optional.ofNullable(this.enabled); } @@ -71,44 +55,20 @@ public Builder(AadDiagnosticSettingEnabledLogRetentionPolicyArgs defaults) { $ = new AadDiagnosticSettingEnabledLogRetentionPolicyArgs(Objects.requireNonNull(defaults)); } - /** - * @param days The number of days for which this Retention Policy should apply. Defaults to `0`. - * - * @return builder - * - */ public Builder days(@Nullable Output days) { $.days = days; return this; } - /** - * @param days The number of days for which this Retention Policy should apply. Defaults to `0`. - * - * @return builder - * - */ public Builder days(Integer days) { return days(Output.of(days)); } - /** - * @param enabled Is this Retention Policy enabled? Defaults to `false`. - * - * @return builder - * - */ public Builder enabled(@Nullable Output enabled) { $.enabled = enabled; return this; } - /** - * @param enabled Is this Retention Policy enabled? Defaults to `false`. - * - * @return builder - * - */ public Builder enabled(Boolean enabled) { return enabled(Output.of(enabled)); } diff --git a/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLog.java b/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLog.java index ce1867e409..0c1823b319 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLog.java +++ b/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLog.java @@ -8,6 +8,8 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class AadDiagnosticSettingEnabledLog { @@ -17,10 +19,12 @@ public final class AadDiagnosticSettingEnabledLog { */ private String category; /** - * @return A `retention_policy` block as defined below. + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings * */ - private AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy; + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ + private @Nullable AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy; private AadDiagnosticSettingEnabledLog() {} /** @@ -31,11 +35,13 @@ public String category() { return this.category; } /** - * @return A `retention_policy` block as defined below. + * @deprecated + * Azure does not support retention for new Azure Active Directory Diagnostic Settings * */ - public AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy() { - return this.retentionPolicy; + @Deprecated /* Azure does not support retention for new Azure Active Directory Diagnostic Settings */ + public Optional retentionPolicy() { + return Optional.ofNullable(this.retentionPolicy); } public static Builder builder() { @@ -48,7 +54,7 @@ public static Builder builder(AadDiagnosticSettingEnabledLog defaults) { @CustomType.Builder public static final class Builder { private String category; - private AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy; + private @Nullable AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy; public Builder() {} public Builder(AadDiagnosticSettingEnabledLog defaults) { Objects.requireNonNull(defaults); @@ -65,10 +71,8 @@ public Builder category(String category) { return this; } @CustomType.Setter - public Builder retentionPolicy(AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy) { - if (retentionPolicy == null) { - throw new MissingRequiredPropertyException("AadDiagnosticSettingEnabledLog", "retentionPolicy"); - } + public Builder retentionPolicy(@Nullable AadDiagnosticSettingEnabledLogRetentionPolicy retentionPolicy) { + this.retentionPolicy = retentionPolicy; return this; } diff --git a/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.java b/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.java index 1f41f2f58e..f441e69ac2 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/azure/monitoring/outputs/AadDiagnosticSettingEnabledLogRetentionPolicy.java @@ -12,29 +12,13 @@ @CustomType public final class AadDiagnosticSettingEnabledLogRetentionPolicy { - /** - * @return The number of days for which this Retention Policy should apply. Defaults to `0`. - * - */ private @Nullable Integer days; - /** - * @return Is this Retention Policy enabled? Defaults to `false`. - * - */ private @Nullable Boolean enabled; private AadDiagnosticSettingEnabledLogRetentionPolicy() {} - /** - * @return The number of days for which this Retention Policy should apply. Defaults to `0`. - * - */ public Optional days() { return Optional.ofNullable(this.days); } - /** - * @return Is this Retention Policy enabled? Defaults to `false`. - * - */ public Optional enabled() { return Optional.ofNullable(this.enabled); } diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManager.java b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManager.java index 07fe2acdb5..c964dd841a 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManager.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManager.java @@ -174,14 +174,14 @@ public Output scope() { return this.scope; } /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ @Export(name="scopeAccesses", refs={List.class,String.class}, tree="[0,1]") private Output> scopeAccesses; /** - * @return A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @return A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ public Output> scopeAccesses() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManagerArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManagerArgs.java index 735904ca77..c840c2868f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManagerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkManagerArgs.java @@ -95,14 +95,14 @@ public Output scope() { } /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ @Import(name="scopeAccesses", required=true) private Output> scopeAccesses; /** - * @return A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @return A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ public Output> scopeAccesses() { @@ -260,7 +260,7 @@ public Builder scope(NetworkManagerScopeArgs scope) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * @@ -271,7 +271,7 @@ public Builder scopeAccesses(Output> scopeAccesses) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * @@ -281,7 +281,7 @@ public Builder scopeAccesses(List scopeAccesses) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLog.java b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLog.java index 11d45cf359..30cede7aaa 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLog.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLog.java @@ -83,16 +83,14 @@ public Output name() { return this.name; } /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ @Export(name="networkSecurityGroupId", refs={String.class}, tree="[0]") private Output networkSecurityGroupId; - /** - * @return The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - * - */ public Output networkSecurityGroupId() { return this.networkSecurityGroupId; } @@ -166,6 +164,20 @@ public Output storageAccountId() { public Output>> tags() { return Codegen.optional(this.tags); } + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + @Export(name="targetResourceId", refs={String.class}, tree="[0]") + private Output targetResourceId; + + /** + * @return The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + public Output targetResourceId() { + return this.targetResourceId; + } /** * A `traffic_analytics` block as documented below. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLogArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLogArgs.java index f424e30713..e57ba413a2 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLogArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/NetworkWatcherFlowLogArgs.java @@ -67,18 +67,22 @@ public Optional> name() { } /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. * */ - @Import(name="networkSecurityGroupId", required=true) - private Output networkSecurityGroupId; + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ + @Import(name="networkSecurityGroupId") + private @Nullable Output networkSecurityGroupId; /** - * @return The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. * */ - public Output networkSecurityGroupId() { - return this.networkSecurityGroupId; + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ + public Optional> networkSecurityGroupId() { + return Optional.ofNullable(this.networkSecurityGroupId); } /** @@ -156,6 +160,21 @@ public Optional>> tags() { return Optional.ofNullable(this.tags); } + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + @Import(name="targetResourceId") + private @Nullable Output targetResourceId; + + /** + * @return The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + public Optional> targetResourceId() { + return Optional.ofNullable(this.targetResourceId); + } + /** * A `traffic_analytics` block as documented below. * @@ -198,6 +217,7 @@ private NetworkWatcherFlowLogArgs(NetworkWatcherFlowLogArgs $) { this.retentionPolicy = $.retentionPolicy; this.storageAccountId = $.storageAccountId; this.tags = $.tags; + this.targetResourceId = $.targetResourceId; this.trafficAnalytics = $.trafficAnalytics; this.version = $.version; } @@ -284,22 +304,26 @@ public Builder name(String name) { } /** - * @param networkSecurityGroupId The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - * * @return builder * + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. + * */ - public Builder networkSecurityGroupId(Output networkSecurityGroupId) { + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ + public Builder networkSecurityGroupId(@Nullable Output networkSecurityGroupId) { $.networkSecurityGroupId = networkSecurityGroupId; return this; } /** - * @param networkSecurityGroupId The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - * * @return builder * + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. + * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ public Builder networkSecurityGroupId(String networkSecurityGroupId) { return networkSecurityGroupId(Output.of(networkSecurityGroupId)); } @@ -409,6 +433,27 @@ public Builder tags(Map tags) { return tags(Output.of(tags)); } + /** + * @param targetResourceId The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder targetResourceId(@Nullable Output targetResourceId) { + $.targetResourceId = targetResourceId; + return this; + } + + /** + * @param targetResourceId The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder targetResourceId(String targetResourceId) { + return targetResourceId(Output.of(targetResourceId)); + } + /** * @param trafficAnalytics A `traffic_analytics` block as documented below. * @@ -455,9 +500,6 @@ public NetworkWatcherFlowLogArgs build() { if ($.enabled == null) { throw new MissingRequiredPropertyException("NetworkWatcherFlowLogArgs", "enabled"); } - if ($.networkSecurityGroupId == null) { - throw new MissingRequiredPropertyException("NetworkWatcherFlowLogArgs", "networkSecurityGroupId"); - } if ($.networkWatcherName == null) { throw new MissingRequiredPropertyException("NetworkWatcherFlowLogArgs", "networkWatcherName"); } diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGateway.java b/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGateway.java index 0e2d48b5a7..8b82e79f0f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGateway.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGateway.java @@ -285,7 +285,7 @@ public Output generation() { return this.generation; } /** - * One or more (up to 3) `ip_configuration` blocks documented below. + * One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -295,7 +295,7 @@ public Output generation() { private Output> ipConfigurations; /** - * @return One or more (up to 3) `ip_configuration` blocks documented below. + * @return One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGatewayArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGatewayArgs.java index f6ef0fa2e8..3cbe4ff5d8 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGatewayArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/VirtualNetworkGatewayArgs.java @@ -164,7 +164,7 @@ public Optional> generation() { } /** - * One or more (up to 3) `ip_configuration` blocks documented below. + * One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -174,7 +174,7 @@ public Optional> generation() { private Output> ipConfigurations; /** - * @return One or more (up to 3) `ip_configuration` blocks documented below. + * @return One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -627,7 +627,7 @@ public Builder generation(String generation) { } /** - * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. + * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -641,7 +641,7 @@ public Builder ipConfigurations(Output i } /** - * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. + * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/ApplicationGatewayWafConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/ApplicationGatewayWafConfigurationArgs.java index 126d817c74..50b7e547f5 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/ApplicationGatewayWafConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/ApplicationGatewayWafConfigurationArgs.java @@ -142,14 +142,14 @@ public Optional> ruleSetType() { } /** - * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ @Import(name="ruleSetVersion", required=true) private Output ruleSetVersion; /** - * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ public Output ruleSetVersion() { @@ -377,7 +377,7 @@ public Builder ruleSetType(String ruleSetType) { } /** - * @param ruleSetVersion The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @param ruleSetVersion The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * * @return builder * @@ -388,7 +388,7 @@ public Builder ruleSetVersion(Output ruleSetVersion) { } /** - * @param ruleSetVersion The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @param ruleSetVersion The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkManagerState.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkManagerState.java index 5b0e8f14d8..f975be0434 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkManagerState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkManagerState.java @@ -110,14 +110,14 @@ public Optional> scope() { } /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ @Import(name="scopeAccesses") private @Nullable Output> scopeAccesses; /** - * @return A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @return A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * */ public Optional>> scopeAccesses() { @@ -307,7 +307,7 @@ public Builder scope(NetworkManagerScopeArgs scope) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * @@ -318,7 +318,7 @@ public Builder scopeAccesses(@Nullable Output> scopeAccesses) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * @@ -328,7 +328,7 @@ public Builder scopeAccesses(List scopeAccesses) { } /** - * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * @param scopeAccesses A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkWatcherFlowLogState.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkWatcherFlowLogState.java index 7babb53600..14174cd655 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkWatcherFlowLogState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/NetworkWatcherFlowLogState.java @@ -66,16 +66,20 @@ public Optional> name() { } /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ @Import(name="networkSecurityGroupId") private @Nullable Output networkSecurityGroupId; /** - * @return The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ public Optional> networkSecurityGroupId() { return Optional.ofNullable(this.networkSecurityGroupId); } @@ -155,6 +159,21 @@ public Optional>> tags() { return Optional.ofNullable(this.tags); } + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + @Import(name="targetResourceId") + private @Nullable Output targetResourceId; + + /** + * @return The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + */ + public Optional> targetResourceId() { + return Optional.ofNullable(this.targetResourceId); + } + /** * A `traffic_analytics` block as documented below. * @@ -197,6 +216,7 @@ private NetworkWatcherFlowLogState(NetworkWatcherFlowLogState $) { this.retentionPolicy = $.retentionPolicy; this.storageAccountId = $.storageAccountId; this.tags = $.tags; + this.targetResourceId = $.targetResourceId; this.trafficAnalytics = $.trafficAnalytics; this.version = $.version; } @@ -283,22 +303,26 @@ public Builder name(String name) { } /** - * @param networkSecurityGroupId The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - * * @return builder * + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. + * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ public Builder networkSecurityGroupId(@Nullable Output networkSecurityGroupId) { $.networkSecurityGroupId = networkSecurityGroupId; return this; } /** - * @param networkSecurityGroupId The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - * * @return builder * + * @deprecated + * The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. + * */ + @Deprecated /* The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider. */ public Builder networkSecurityGroupId(String networkSecurityGroupId) { return networkSecurityGroupId(Output.of(networkSecurityGroupId)); } @@ -408,6 +432,27 @@ public Builder tags(Map tags) { return tags(Output.of(tags)); } + /** + * @param targetResourceId The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder targetResourceId(@Nullable Output targetResourceId) { + $.targetResourceId = targetResourceId; + return this; + } + + /** + * @param targetResourceId The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + * + * @return builder + * + */ + public Builder targetResourceId(String targetResourceId) { + return targetResourceId(Output.of(targetResourceId)); + } + /** * @param trafficAnalytics A `traffic_analytics` block as documented below. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/SubnetDelegationServiceDelegationArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/SubnetDelegationServiceDelegationArgs.java index 7a697a49fe..7b97375b9e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/SubnetDelegationServiceDelegationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/SubnetDelegationServiceDelegationArgs.java @@ -37,14 +37,14 @@ public Optional>> actions() { } /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ @Import(name="name", required=true) private Output name; /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ public Output name() { @@ -114,7 +114,7 @@ public Builder actions(String... actions) { } /** - * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * * @return builder * @@ -125,7 +125,7 @@ public Builder name(Output name) { } /** - * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkGatewayState.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkGatewayState.java index d4da23e3f5..f2409fc27b 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkGatewayState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkGatewayState.java @@ -163,7 +163,7 @@ public Optional> generation() { } /** - * One or more (up to 3) `ip_configuration` blocks documented below. + * One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -173,7 +173,7 @@ public Optional> generation() { private @Nullable Output> ipConfigurations; /** - * @return One or more (up to 3) `ip_configuration` blocks documented below. + * @return One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -626,7 +626,7 @@ public Builder generation(String generation) { } /** - * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. + * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -640,7 +640,7 @@ public Builder ipConfigurations(@Nullable Output i } /** - * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. + * @param ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ip_configuration` block, * an active-active gateway requires exactly two `ip_configuration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.java b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.java index 0c23069f98..6d2f20c823 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/inputs/VirtualNetworkSubnetDelegationServiceDelegationArgs.java @@ -37,14 +37,14 @@ public Optional>> actions() { } /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ @Import(name="name", required=true) private Output name; /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ public Output name() { @@ -114,7 +114,7 @@ public Builder actions(String... actions) { } /** - * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * * @return builder * @@ -125,7 +125,7 @@ public Builder name(Output name) { } /** - * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @param name The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/ApplicationGatewayWafConfiguration.java b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/ApplicationGatewayWafConfiguration.java index 2bc94e8b12..8f56bdaf45 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/ApplicationGatewayWafConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/ApplicationGatewayWafConfiguration.java @@ -58,7 +58,7 @@ public final class ApplicationGatewayWafConfiguration { */ private @Nullable String ruleSetType; /** - * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ private String ruleSetVersion; @@ -121,7 +121,7 @@ public Optional ruleSetType() { return Optional.ofNullable(this.ruleSetType); } /** - * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ public String ruleSetVersion() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/SubnetDelegationServiceDelegation.java b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/SubnetDelegationServiceDelegation.java index cedf26af7a..96f9d6ef1f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/SubnetDelegationServiceDelegation.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/SubnetDelegationServiceDelegation.java @@ -20,7 +20,7 @@ public final class SubnetDelegationServiceDelegation { */ private @Nullable List actions; /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ private String name; @@ -36,7 +36,7 @@ public List actions() { return this.actions == null ? List.of() : this.actions; } /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/VirtualNetworkSubnetDelegationServiceDelegation.java b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/VirtualNetworkSubnetDelegationServiceDelegation.java index 7af6d3bfae..a7c0478c70 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/network/outputs/VirtualNetworkSubnetDelegationServiceDelegation.java +++ b/sdk/java/src/main/java/com/pulumi/azure/network/outputs/VirtualNetworkSubnetDelegationServiceDelegation.java @@ -20,7 +20,7 @@ public final class VirtualNetworkSubnetDelegationServiceDelegation { */ private @Nullable List actions; /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ private String name; @@ -36,7 +36,7 @@ public List actions() { return this.actions == null ? List.of() : this.actions; } /** - * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * @return The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java b/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java index 4fb8794a31..b2d8d7ee0f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java +++ b/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java @@ -364,14 +364,14 @@ public Output> condition() { * */ @Export(name="conditionVersion", refs={String.class}, tree="[0]") - private Output conditionVersion; + private Output conditionVersion; /** * @return The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. * */ - public Output> conditionVersion() { - return Codegen.optional(this.conditionVersion); + public Output conditionVersion() { + return this.conditionVersion; } /** * The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. diff --git a/sdk/java/src/main/java/com/pulumi/azure/securitycenter/AutoProvisioning.java b/sdk/java/src/main/java/com/pulumi/azure/securitycenter/AutoProvisioning.java index 7d62902acc..9af92dec34 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/securitycenter/AutoProvisioning.java +++ b/sdk/java/src/main/java/com/pulumi/azure/securitycenter/AutoProvisioning.java @@ -16,6 +16,8 @@ /** * Enables or disables the Security Center Auto Provisioning feature for the subscription * + * > **Note:** The `azure.securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. + * * > **NOTE:** There is no resource name required, it will always be "default" * * ## Example Usage diff --git a/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.java b/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.java index 8bba2b5a7a..af08b44b72 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesExclusionExcludedRuleSetArgs.java @@ -48,14 +48,14 @@ public Optional> type() { } /** - * The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * */ @Import(name="version") private @Nullable Output version; /** - * @return The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * @return The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * */ public Optional> version() { @@ -141,7 +141,7 @@ public Builder type(String type) { } /** - * @param version The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * @param version The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * * @return builder * @@ -152,7 +152,7 @@ public Builder version(@Nullable Output version) { } /** - * @param version The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * @param version The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesManagedRuleSetArgs.java b/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesManagedRuleSetArgs.java index 63007136c3..8abce816e0 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesManagedRuleSetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/waf/inputs/PolicyManagedRulesManagedRuleSetArgs.java @@ -49,14 +49,14 @@ public Optional> type() { } /** - * The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ @Import(name="version", required=true) private Output version; /** - * @return The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ public Output version() { @@ -142,7 +142,7 @@ public Builder type(String type) { } /** - * @param version The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @param version The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * * @return builder * @@ -153,7 +153,7 @@ public Builder version(Output version) { } /** - * @param version The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @param version The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesExclusionExcludedRuleSet.java b/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesExclusionExcludedRuleSet.java index 1533c9b23a..3c681bd985 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesExclusionExcludedRuleSet.java +++ b/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesExclusionExcludedRuleSet.java @@ -24,7 +24,7 @@ public final class PolicyManagedRulesExclusionExcludedRuleSet { */ private @Nullable String type; /** - * @return The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * @return The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * */ private @Nullable String version; @@ -45,7 +45,7 @@ public Optional type() { return Optional.ofNullable(this.type); } /** - * @return The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * @return The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. * */ public Optional version() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesManagedRuleSet.java b/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesManagedRuleSet.java index ba9fffeae6..1f5dd7d698 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesManagedRuleSet.java +++ b/sdk/java/src/main/java/com/pulumi/azure/waf/outputs/PolicyManagedRulesManagedRuleSet.java @@ -25,7 +25,7 @@ public final class PolicyManagedRulesManagedRuleSet { */ private @Nullable String type; /** - * @return The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ private String version; @@ -46,7 +46,7 @@ public Optional type() { return Optional.ofNullable(this.type); } /** - * @return The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * @return The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. * */ public String version() { diff --git a/sdk/nodejs/apimanagement/api.ts b/sdk/nodejs/apimanagement/api.ts index 27edd0d2bd..a46bf48eac 100644 --- a/sdk/nodejs/apimanagement/api.ts +++ b/sdk/nodejs/apimanagement/api.ts @@ -37,7 +37,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_schema_swagger.json", * }, * }); * ``` diff --git a/sdk/nodejs/arcmachine/arcMachine.ts b/sdk/nodejs/arcmachine/arcMachine.ts index 84a5a8ed69..62e00d0fea 100644 --- a/sdk/nodejs/arcmachine/arcMachine.ts +++ b/sdk/nodejs/arcmachine/arcMachine.ts @@ -2,6 +2,8 @@ // *** 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"; /** @@ -22,6 +24,12 @@ import * as utilities from "../utilities"; * resourceGroupName: example.name, * location: example.location, * kind: "SCVMM", + * identity: { + * type: "SystemAssigned", + * }, + * tags: { + * environment: "example", + * }, * }); * ``` * @@ -61,6 +69,10 @@ export class ArcMachine extends pulumi.CustomResource { return obj['__pulumiType'] === ArcMachine.__pulumiType; } + /** + * An `identity` block as defined below. + */ + public readonly identity!: pulumi.Output; /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. */ @@ -77,6 +89,10 @@ export class ArcMachine extends pulumi.CustomResource { * The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. */ public readonly resourceGroupName!: pulumi.Output; + /** + * A mapping of tags to assign to the Arc Machine. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a ArcMachine resource with the given unique name, arguments, and options. @@ -91,10 +107,12 @@ export class ArcMachine extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ArcMachineState | undefined; + resourceInputs["identity"] = state ? state.identity : undefined; resourceInputs["kind"] = state ? state.kind : undefined; resourceInputs["location"] = state ? state.location : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined; + resourceInputs["tags"] = state ? state.tags : undefined; } else { const args = argsOrState as ArcMachineArgs | undefined; if ((!args || args.kind === undefined) && !opts.urn) { @@ -103,10 +121,12 @@ export class ArcMachine extends pulumi.CustomResource { if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } + resourceInputs["identity"] = args ? args.identity : undefined; resourceInputs["kind"] = args ? args.kind : undefined; resourceInputs["location"] = args ? args.location : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ArcMachine.__pulumiType, name, resourceInputs, opts); @@ -117,6 +137,10 @@ export class ArcMachine extends pulumi.CustomResource { * Input properties used for looking up and filtering ArcMachine resources. */ export interface ArcMachineState { + /** + * An `identity` block as defined below. + */ + identity?: pulumi.Input; /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. */ @@ -133,12 +157,20 @@ export interface ArcMachineState { * The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; + /** + * A mapping of tags to assign to the Arc Machine. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** * The set of arguments for constructing a ArcMachine resource. */ export interface ArcMachineArgs { + /** + * An `identity` block as defined below. + */ + identity?: pulumi.Input; /** * The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. */ @@ -155,4 +187,8 @@ export interface ArcMachineArgs { * The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; + /** + * A mapping of tags to assign to the Arc Machine. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/authorization/assignment.ts b/sdk/nodejs/authorization/assignment.ts index 4679b2b661..b45e27512b 100644 --- a/sdk/nodejs/authorization/assignment.ts +++ b/sdk/nodejs/authorization/assignment.ts @@ -204,7 +204,7 @@ export class Assignment extends pulumi.CustomResource { /** * The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. */ - public readonly conditionVersion!: pulumi.Output; + public readonly conditionVersion!: pulumi.Output; /** * The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. * diff --git a/sdk/nodejs/cosmosdb/account.ts b/sdk/nodejs/cosmosdb/account.ts index 50b1dfd09d..4b63d5d2e8 100644 --- a/sdk/nodejs/cosmosdb/account.ts +++ b/sdk/nodejs/cosmosdb/account.ts @@ -186,6 +186,8 @@ export class Account extends pulumi.CustomResource { public readonly managedHsmKeyId!: pulumi.Output; /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + * + * > **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 details. */ public readonly minimalTlsVersion!: pulumi.Output; public readonly mongoServerVersion!: pulumi.Output; @@ -453,6 +455,8 @@ export interface AccountState { managedHsmKeyId?: pulumi.Input; /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + * + * > **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 details. */ minimalTlsVersion?: pulumi.Input; mongoServerVersion?: pulumi.Input; @@ -582,6 +586,8 @@ export interface AccountArgs { managedHsmKeyId?: pulumi.Input; /** * Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + * + * > **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 details. */ minimalTlsVersion?: pulumi.Input; mongoServerVersion?: pulumi.Input; diff --git a/sdk/nodejs/databricks/index.ts b/sdk/nodejs/databricks/index.ts index 610578d48b..8bea39d40a 100644 --- a/sdk/nodejs/databricks/index.ts +++ b/sdk/nodejs/databricks/index.ts @@ -35,6 +35,11 @@ export type Workspace = import("./workspace").Workspace; export const Workspace: typeof import("./workspace").Workspace = null as any; utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace")); +export { WorkspaceCustomerManagedKeyArgs, WorkspaceCustomerManagedKeyState } from "./workspaceCustomerManagedKey"; +export type WorkspaceCustomerManagedKey = import("./workspaceCustomerManagedKey").WorkspaceCustomerManagedKey; +export const WorkspaceCustomerManagedKey: typeof import("./workspaceCustomerManagedKey").WorkspaceCustomerManagedKey = null as any; +utilities.lazyLoad(exports, ["WorkspaceCustomerManagedKey"], () => require("./workspaceCustomerManagedKey")); + export { WorkspaceRootDbfsCustomerManagedKeyArgs, WorkspaceRootDbfsCustomerManagedKeyState } from "./workspaceRootDbfsCustomerManagedKey"; export type WorkspaceRootDbfsCustomerManagedKey = import("./workspaceRootDbfsCustomerManagedKey").WorkspaceRootDbfsCustomerManagedKey; export const WorkspaceRootDbfsCustomerManagedKey: typeof import("./workspaceRootDbfsCustomerManagedKey").WorkspaceRootDbfsCustomerManagedKey = null as any; @@ -51,6 +56,8 @@ const _module = { return new VirtualNetworkPeering(name, undefined, { urn }) case "azure:databricks/workspace:Workspace": return new Workspace(name, undefined, { urn }) + case "azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey": + return new WorkspaceCustomerManagedKey(name, undefined, { urn }) case "azure:databricks/workspaceRootDbfsCustomerManagedKey:WorkspaceRootDbfsCustomerManagedKey": return new WorkspaceRootDbfsCustomerManagedKey(name, undefined, { urn }) default: @@ -61,4 +68,5 @@ const _module = { pulumi.runtime.registerResourceModule("azure", "databricks/accessConnector", _module) pulumi.runtime.registerResourceModule("azure", "databricks/virtualNetworkPeering", _module) pulumi.runtime.registerResourceModule("azure", "databricks/workspace", _module) +pulumi.runtime.registerResourceModule("azure", "databricks/workspaceCustomerManagedKey", _module) pulumi.runtime.registerResourceModule("azure", "databricks/workspaceRootDbfsCustomerManagedKey", _module) diff --git a/sdk/nodejs/databricks/workspaceCustomerManagedKey.ts b/sdk/nodejs/databricks/workspaceCustomerManagedKey.ts new file mode 100644 index 0000000000..b9c4f30bf1 --- /dev/null +++ b/sdk/nodejs/databricks/workspaceCustomerManagedKey.ts @@ -0,0 +1,101 @@ +// *** 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"; + +/** + * ## Import + * + * Databrick Workspaces can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 + * ``` + */ +export class WorkspaceCustomerManagedKey extends pulumi.CustomResource { + /** + * Get an existing WorkspaceCustomerManagedKey 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?: WorkspaceCustomerManagedKeyState, opts?: pulumi.CustomResourceOptions): WorkspaceCustomerManagedKey { + return new WorkspaceCustomerManagedKey(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey'; + + /** + * Returns true if the given object is an instance of WorkspaceCustomerManagedKey. 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 WorkspaceCustomerManagedKey { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WorkspaceCustomerManagedKey.__pulumiType; + } + + public readonly keyVaultKeyId!: pulumi.Output; + /** + * The unique identifier of the databricks workspace in Databricks control plane. + */ + public readonly workspaceId!: pulumi.Output; + + /** + * Create a WorkspaceCustomerManagedKey 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: WorkspaceCustomerManagedKeyArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: WorkspaceCustomerManagedKeyArgs | WorkspaceCustomerManagedKeyState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as WorkspaceCustomerManagedKeyState | undefined; + resourceInputs["keyVaultKeyId"] = state ? state.keyVaultKeyId : undefined; + resourceInputs["workspaceId"] = state ? state.workspaceId : undefined; + } else { + const args = argsOrState as WorkspaceCustomerManagedKeyArgs | undefined; + if ((!args || args.keyVaultKeyId === undefined) && !opts.urn) { + throw new Error("Missing required property 'keyVaultKeyId'"); + } + if ((!args || args.workspaceId === undefined) && !opts.urn) { + throw new Error("Missing required property 'workspaceId'"); + } + resourceInputs["keyVaultKeyId"] = args ? args.keyVaultKeyId : undefined; + resourceInputs["workspaceId"] = args ? args.workspaceId : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(WorkspaceCustomerManagedKey.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering WorkspaceCustomerManagedKey resources. + */ +export interface WorkspaceCustomerManagedKeyState { + keyVaultKeyId?: pulumi.Input; + /** + * The unique identifier of the databricks workspace in Databricks control plane. + */ + workspaceId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a WorkspaceCustomerManagedKey resource. + */ +export interface WorkspaceCustomerManagedKeyArgs { + keyVaultKeyId: pulumi.Input; + /** + * The unique identifier of the databricks workspace in Databricks control plane. + */ + workspaceId: pulumi.Input; +} diff --git a/sdk/nodejs/eventgrid/index.ts b/sdk/nodejs/eventgrid/index.ts index fb7f298812..ee05424536 100644 --- a/sdk/nodejs/eventgrid/index.ts +++ b/sdk/nodejs/eventgrid/index.ts @@ -40,6 +40,11 @@ export const getTopic: typeof import("./getTopic").getTopic = null as any; export const getTopicOutput: typeof import("./getTopic").getTopicOutput = null as any; utilities.lazyLoad(exports, ["getTopic","getTopicOutput"], () => require("./getTopic")); +export { NamespaceArgs, NamespaceState } from "./namespace"; +export type Namespace = import("./namespace").Namespace; +export const Namespace: typeof import("./namespace").Namespace = null as any; +utilities.lazyLoad(exports, ["Namespace"], () => require("./namespace")); + export { SystemTopicArgs, SystemTopicState } from "./systemTopic"; export type SystemTopic = import("./systemTopic").SystemTopic; export const SystemTopic: typeof import("./systemTopic").SystemTopic = null as any; @@ -67,6 +72,8 @@ const _module = { return new DomainTopic(name, undefined, { urn }) case "azure:eventgrid/eventSubscription:EventSubscription": return new EventSubscription(name, undefined, { urn }) + case "azure:eventgrid/namespace:Namespace": + return new Namespace(name, undefined, { urn }) case "azure:eventgrid/systemTopic:SystemTopic": return new SystemTopic(name, undefined, { urn }) case "azure:eventgrid/systemTopicEventSubscription:SystemTopicEventSubscription": @@ -81,6 +88,7 @@ const _module = { pulumi.runtime.registerResourceModule("azure", "eventgrid/domain", _module) pulumi.runtime.registerResourceModule("azure", "eventgrid/domainTopic", _module) pulumi.runtime.registerResourceModule("azure", "eventgrid/eventSubscription", _module) +pulumi.runtime.registerResourceModule("azure", "eventgrid/namespace", _module) pulumi.runtime.registerResourceModule("azure", "eventgrid/systemTopic", _module) pulumi.runtime.registerResourceModule("azure", "eventgrid/systemTopicEventSubscription", _module) pulumi.runtime.registerResourceModule("azure", "eventgrid/topic", _module) diff --git a/sdk/nodejs/eventgrid/namespace.ts b/sdk/nodejs/eventgrid/namespace.ts new file mode 100644 index 0000000000..fb912faefa --- /dev/null +++ b/sdk/nodejs/eventgrid/namespace.ts @@ -0,0 +1,243 @@ +// *** 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 an EventGrid Namespace + * + * ## 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: "West Europe", + * }); + * const exampleNamespace = new azure.eventgrid.Namespace("example", { + * name: "my-eventgrid-namespace", + * location: example.location, + * resourceGroupName: example.name, + * tags: { + * environment: "Production", + * }, + * }); + * ``` + * + * ## Import + * + * EventGrid Namespace's can be imported using the `resource id`, e.g. + * + * ```sh + * $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 + * ``` + */ +export class Namespace extends pulumi.CustomResource { + /** + * Get an existing Namespace 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?: NamespaceState, opts?: pulumi.CustomResourceOptions): Namespace { + return new Namespace(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure:eventgrid/namespace:Namespace'; + + /** + * Returns true if the given object is an instance of Namespace. 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 Namespace { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Namespace.__pulumiType; + } + + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + */ + public readonly capacity!: pulumi.Output; + /** + * An `identity` block as defined below. + */ + public readonly identity!: pulumi.Output; + /** + * One or more `inboundIpRule` blocks as defined below. + */ + public readonly inboundIpRules!: pulumi.Output; + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + */ + public readonly location!: pulumi.Output; + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + */ + public readonly name!: pulumi.Output; + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + */ + public readonly resourceGroupName!: pulumi.Output; + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + */ + public readonly sku!: pulumi.Output; + /** + * A mapping of tags to assign to the resource. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * A `topicSpacesConfiguration` block as defined below. + */ + public readonly topicSpacesConfigurations!: pulumi.Output; + + /** + * Create a Namespace 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: NamespaceArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: NamespaceArgs | NamespaceState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as NamespaceState | undefined; + resourceInputs["capacity"] = state ? state.capacity : undefined; + resourceInputs["identity"] = state ? state.identity : undefined; + resourceInputs["inboundIpRules"] = state ? state.inboundIpRules : undefined; + resourceInputs["location"] = state ? state.location : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["publicNetworkAccess"] = state ? state.publicNetworkAccess : undefined; + resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined; + resourceInputs["sku"] = state ? state.sku : undefined; + resourceInputs["tags"] = state ? state.tags : undefined; + resourceInputs["topicSpacesConfigurations"] = state ? state.topicSpacesConfigurations : undefined; + } else { + const args = argsOrState as NamespaceArgs | undefined; + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["capacity"] = args ? args.capacity : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["inboundIpRules"] = args ? args.inboundIpRules : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["publicNetworkAccess"] = args ? args.publicNetworkAccess : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["topicSpacesConfigurations"] = args ? args.topicSpacesConfigurations : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Namespace.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Namespace resources. + */ +export interface NamespaceState { + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + */ + capacity?: pulumi.Input; + /** + * An `identity` block as defined below. + */ + identity?: pulumi.Input; + /** + * One or more `inboundIpRule` blocks as defined below. + */ + inboundIpRules?: pulumi.Input[]>; + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + */ + location?: pulumi.Input; + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + */ + name?: pulumi.Input; + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + */ + resourceGroupName?: pulumi.Input; + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + */ + sku?: pulumi.Input; + /** + * A mapping of tags to assign to the resource. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A `topicSpacesConfiguration` block as defined below. + */ + topicSpacesConfigurations?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a Namespace resource. + */ +export interface NamespaceArgs { + /** + * Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + */ + capacity?: pulumi.Input; + /** + * An `identity` block as defined below. + */ + identity?: pulumi.Input; + /** + * One or more `inboundIpRule` blocks as defined below. + */ + inboundIpRules?: pulumi.Input[]>; + /** + * Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + */ + location?: pulumi.Input; + /** + * Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + */ + name?: pulumi.Input; + /** + * Whether or not public network access is allowed for this server. Defaults to `Enabled`. + */ + publicNetworkAccess?: pulumi.Input; + /** + * The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + */ + resourceGroupName: pulumi.Input; + /** + * Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + */ + sku?: pulumi.Input; + /** + * A mapping of tags to assign to the resource. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A `topicSpacesConfiguration` block as defined below. + */ + topicSpacesConfigurations?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/eventhub/eventHubNamespace.ts b/sdk/nodejs/eventhub/eventHubNamespace.ts index b7a8ebfdbf..118efe0185 100644 --- a/sdk/nodejs/eventhub/eventHubNamespace.ts +++ b/sdk/nodejs/eventhub/eventHubNamespace.ts @@ -121,6 +121,8 @@ export class EventHubNamespace extends pulumi.CustomResource { public readonly maximumThroughputUnits!: pulumi.Output; /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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 minimumTlsVersion!: pulumi.Output; /** @@ -275,6 +277,8 @@ export interface EventHubNamespaceState { maximumThroughputUnits?: pulumi.Input; /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. */ minimumTlsVersion?: pulumi.Input; /** @@ -337,6 +341,8 @@ export interface EventHubNamespaceArgs { maximumThroughputUnits?: pulumi.Input; /** * The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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. */ minimumTlsVersion?: pulumi.Input; /** diff --git a/sdk/nodejs/monitoring/aadDiagnosticSetting.ts b/sdk/nodejs/monitoring/aadDiagnosticSetting.ts index 77dff74886..db15bc5a1c 100644 --- a/sdk/nodejs/monitoring/aadDiagnosticSetting.ts +++ b/sdk/nodejs/monitoring/aadDiagnosticSetting.ts @@ -35,31 +35,15 @@ import * as utilities from "../utilities"; * enabledLogs: [ * { * category: "SignInLogs", - * retentionPolicy: { - * enabled: true, - * days: 1, - * }, * }, * { * category: "AuditLogs", - * retentionPolicy: { - * enabled: true, - * days: 1, - * }, * }, * { * category: "NonInteractiveUserSignInLogs", - * retentionPolicy: { - * enabled: true, - * days: 1, - * }, * }, * { * category: "ServicePrincipalSignInLogs", - * retentionPolicy: { - * enabled: true, - * days: 1, - * }, * }, * ], * }); diff --git a/sdk/nodejs/network/networkManager.ts b/sdk/nodejs/network/networkManager.ts index 474167c369..bcfde52548 100644 --- a/sdk/nodejs/network/networkManager.ts +++ b/sdk/nodejs/network/networkManager.ts @@ -99,7 +99,7 @@ export class NetworkManager extends pulumi.CustomResource { */ public readonly scope!: pulumi.Output; /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. */ public readonly scopeAccesses!: pulumi.Output; /** @@ -182,7 +182,7 @@ export interface NetworkManagerState { */ scope?: pulumi.Input; /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. */ scopeAccesses?: pulumi.Input[]>; /** @@ -216,7 +216,7 @@ export interface NetworkManagerArgs { */ scope: pulumi.Input; /** - * A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + * A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. */ scopeAccesses: pulumi.Input[]>; /** diff --git a/sdk/nodejs/network/networkWatcherFlowLog.ts b/sdk/nodejs/network/networkWatcherFlowLog.ts index 0ff912f0b7..f6732fa880 100644 --- a/sdk/nodejs/network/networkWatcherFlowLog.ts +++ b/sdk/nodejs/network/networkWatcherFlowLog.ts @@ -60,7 +60,7 @@ export class NetworkWatcherFlowLog extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. */ public readonly networkSecurityGroupId!: pulumi.Output; /** @@ -83,6 +83,10 @@ export class NetworkWatcherFlowLog extends pulumi.CustomResource { * A mapping of tags which should be assigned to the Network Watcher Flow Log. */ public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + */ + public readonly targetResourceId!: pulumi.Output; /** * A `trafficAnalytics` block as documented below. */ @@ -114,6 +118,7 @@ export class NetworkWatcherFlowLog extends pulumi.CustomResource { resourceInputs["retentionPolicy"] = state ? state.retentionPolicy : undefined; resourceInputs["storageAccountId"] = state ? state.storageAccountId : undefined; resourceInputs["tags"] = state ? state.tags : undefined; + resourceInputs["targetResourceId"] = state ? state.targetResourceId : undefined; resourceInputs["trafficAnalytics"] = state ? state.trafficAnalytics : undefined; resourceInputs["version"] = state ? state.version : undefined; } else { @@ -121,9 +126,6 @@ export class NetworkWatcherFlowLog extends pulumi.CustomResource { if ((!args || args.enabled === undefined) && !opts.urn) { throw new Error("Missing required property 'enabled'"); } - if ((!args || args.networkSecurityGroupId === undefined) && !opts.urn) { - throw new Error("Missing required property 'networkSecurityGroupId'"); - } if ((!args || args.networkWatcherName === undefined) && !opts.urn) { throw new Error("Missing required property 'networkWatcherName'"); } @@ -145,6 +147,7 @@ export class NetworkWatcherFlowLog extends pulumi.CustomResource { resourceInputs["retentionPolicy"] = args ? args.retentionPolicy : undefined; resourceInputs["storageAccountId"] = args ? args.storageAccountId : undefined; resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["targetResourceId"] = args ? args.targetResourceId : undefined; resourceInputs["trafficAnalytics"] = args ? args.trafficAnalytics : undefined; resourceInputs["version"] = args ? args.version : undefined; } @@ -170,7 +173,7 @@ export interface NetworkWatcherFlowLogState { */ name?: pulumi.Input; /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. */ networkSecurityGroupId?: pulumi.Input; /** @@ -193,6 +196,10 @@ export interface NetworkWatcherFlowLogState { * A mapping of tags which should be assigned to the Network Watcher Flow Log. */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + */ + targetResourceId?: pulumi.Input; /** * A `trafficAnalytics` block as documented below. */ @@ -220,9 +227,9 @@ export interface NetworkWatcherFlowLogArgs { */ name?: pulumi.Input; /** - * The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. + * @deprecated The property `networkSecurityGroupId` has been superseded by `targetResourceId` and will be removed in version 5.0 of the AzureRM Provider. */ - networkSecurityGroupId: pulumi.Input; + networkSecurityGroupId?: pulumi.Input; /** * The name of the Network Watcher. Changing this forces a new resource to be created. */ @@ -243,6 +250,10 @@ export interface NetworkWatcherFlowLogArgs { * A mapping of tags which should be assigned to the Network Watcher Flow Log. */ tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + */ + targetResourceId?: pulumi.Input; /** * A `trafficAnalytics` block as documented below. */ diff --git a/sdk/nodejs/network/virtualNetworkGateway.ts b/sdk/nodejs/network/virtualNetworkGateway.ts index 83ec6b5100..6b2158785d 100644 --- a/sdk/nodejs/network/virtualNetworkGateway.ts +++ b/sdk/nodejs/network/virtualNetworkGateway.ts @@ -163,7 +163,7 @@ export class VirtualNetworkGateway extends pulumi.CustomResource { */ public readonly generation!: pulumi.Output; /** - * One or more (up to 3) `ipConfiguration` blocks documented below. + * One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ipConfiguration` block, * an active-active gateway requires exactly two `ipConfiguration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -348,7 +348,7 @@ export interface VirtualNetworkGatewayState { */ generation?: pulumi.Input; /** - * One or more (up to 3) `ipConfiguration` blocks documented below. + * One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ipConfiguration` block, * an active-active gateway requires exactly two `ipConfiguration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. @@ -455,7 +455,7 @@ export interface VirtualNetworkGatewayArgs { */ generation?: pulumi.Input; /** - * One or more (up to 3) `ipConfiguration` blocks documented below. + * One or more (up to 3) `ipConfiguration` blocks documented below. Changing this forces a new resource to be created. * An active-standby gateway requires exactly one `ipConfiguration` block, * an active-active gateway requires exactly two `ipConfiguration` blocks whereas * an active-active zone redundant gateway with P2S configuration requires exactly three `ipConfiguration` blocks. diff --git a/sdk/nodejs/role/assignment.ts b/sdk/nodejs/role/assignment.ts index 2bca990d73..4a9b0c4676 100644 --- a/sdk/nodejs/role/assignment.ts +++ b/sdk/nodejs/role/assignment.ts @@ -207,7 +207,7 @@ export class Assignment extends pulumi.CustomResource { /** * The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. */ - public readonly conditionVersion!: pulumi.Output; + public readonly conditionVersion!: pulumi.Output; /** * The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created. * diff --git a/sdk/nodejs/securitycenter/autoProvisioning.ts b/sdk/nodejs/securitycenter/autoProvisioning.ts index bce1619c6c..6b9fbd40cb 100644 --- a/sdk/nodejs/securitycenter/autoProvisioning.ts +++ b/sdk/nodejs/securitycenter/autoProvisioning.ts @@ -7,6 +7,8 @@ import * as utilities from "../utilities"; /** * Enables or disables the Security Center Auto Provisioning feature for the subscription * + * > **Note:** The `azure.securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. + * * > **NOTE:** There is no resource name required, it will always be "default" * * ## Example Usage diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index b5d31dfee2..da84b93210 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -552,6 +552,7 @@ "databricks/index.ts", "databricks/virtualNetworkPeering.ts", "databricks/workspace.ts", + "databricks/workspaceCustomerManagedKey.ts", "databricks/workspaceRootDbfsCustomerManagedKey.ts", "datadog/index.ts", "datadog/monitor.ts", @@ -726,6 +727,7 @@ "eventgrid/getSystemTopic.ts", "eventgrid/getTopic.ts", "eventgrid/index.ts", + "eventgrid/namespace.ts", "eventgrid/systemTopic.ts", "eventgrid/systemTopicEventSubscription.ts", "eventgrid/topic.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 8f764729b2..ab87b3180c 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -390,7 +390,7 @@ export namespace apimanagement { */ contentFormat: pulumi.Input; /** - * The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. */ contentValue: pulumi.Input; /** @@ -14524,6 +14524,21 @@ export namespace arckubernetes { } export namespace arcmachine { + export interface ArcMachineIdentity { + /** + * The Principal ID associated with this Managed Service Identity. + */ + principalId?: pulumi.Input; + /** + * The Tenant ID associated with this Managed Service Identity. + */ + tenantId?: pulumi.Input; + /** + * Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + */ + type: pulumi.Input; + } + } export namespace authorization { @@ -30454,6 +30469,81 @@ export namespace eventgrid { url: pulumi.Input; } + export interface NamespaceIdentity { + /** + * Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + */ + identityIds?: pulumi.Input[]>; + principalId?: pulumi.Input; + tenantId?: pulumi.Input; + /** + * Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + */ + type: pulumi.Input; + } + + export interface NamespaceInboundIpRule { + /** + * The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + */ + action?: pulumi.Input; + /** + * The IP mask (CIDR) to match on. + */ + ipMask: pulumi.Input; + } + + export interface NamespaceTopicSpacesConfiguration { + /** + * Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + */ + alternativeAuthenticationNameSources?: pulumi.Input[]>; + /** + * One or more `dynamicRoutingEnrichment` blocks as defined below. + */ + dynamicRoutingEnrichments?: pulumi.Input[]>; + /** + * Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + */ + maximumClientSessionsPerAuthenticationName?: pulumi.Input; + /** + * Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + */ + maximumSessionExpiryInHours?: pulumi.Input; + /** + * Specifies the Event Grid topic resource ID to route messages to. + */ + routeTopicId?: pulumi.Input; + /** + * One or more `staticRoutingEnrichment` blocks as defined below. + */ + staticRoutingEnrichments?: pulumi.Input[]>; + } + + export interface NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment { + /** + * The enrichment key. + */ + key: pulumi.Input; + /** + * The enrichment value. + */ + value: pulumi.Input; + } + + export interface NamespaceTopicSpacesConfigurationStaticRoutingEnrichment { + /** + * The enrichment key. + */ + key: pulumi.Input; + /** + * The enrichment value. + */ + value: pulumi.Input; + } + export interface SystemTopicEventSubscriptionAdvancedFilter { /** * Compares a value of an event using a single boolean value. @@ -38264,19 +38354,13 @@ export namespace monitoring { */ category: pulumi.Input; /** - * A `retentionPolicy` block as defined below. + * @deprecated Azure does not support retention for new Azure Active Directory Diagnostic Settings */ - retentionPolicy: pulumi.Input; + retentionPolicy?: pulumi.Input; } export interface AadDiagnosticSettingEnabledLogRetentionPolicy { - /** - * The number of days for which this Retention Policy should apply. Defaults to `0`. - */ days?: pulumi.Input; - /** - * Is this Retention Policy enabled? Defaults to `false`. - */ enabled?: pulumi.Input; } @@ -42297,7 +42381,7 @@ export namespace network { */ ruleSetType?: pulumi.Input; /** - * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. */ ruleSetVersion: pulumi.Input; } @@ -43711,7 +43795,7 @@ export namespace network { */ actions?: pulumi.Input[]>; /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. */ name: pulumi.Input; } @@ -44381,7 +44465,7 @@ export namespace network { */ actions?: pulumi.Input[]>; /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. */ name: pulumi.Input; } @@ -51078,7 +51162,7 @@ export namespace waf { */ type?: pulumi.Input; /** - * The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. */ version?: pulumi.Input; } @@ -51105,7 +51189,7 @@ export namespace waf { */ type?: pulumi.Input; /** - * The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. */ version: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 5482cf2eba..f42cce5595 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -279,7 +279,7 @@ export namespace apimanagement { */ contentFormat: string; /** - * The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + * The Content from which the API Definition should be imported. When a `contentFormat` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. */ contentValue: string; /** @@ -19679,6 +19679,21 @@ export namespace arckubernetes { } export namespace arcmachine { + export interface ArcMachineIdentity { + /** + * The Principal ID associated with this Managed Service Identity. + */ + principalId: string; + /** + * The Tenant ID associated with this Managed Service Identity. + */ + tenantId: string; + /** + * Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + */ + type: string; + } + export interface GetAgent { /** * A `extensionsAllowList` block as defined below. @@ -39564,6 +39579,81 @@ export namespace eventgrid { type: string; } + export interface NamespaceIdentity { + /** + * Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + * + * > **NOTE:** This is required when `type` is set to `UserAssigned` + */ + identityIds?: string[]; + principalId: string; + tenantId: string; + /** + * Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + */ + type: string; + } + + export interface NamespaceInboundIpRule { + /** + * The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + */ + action?: string; + /** + * The IP mask (CIDR) to match on. + */ + ipMask: string; + } + + export interface NamespaceTopicSpacesConfiguration { + /** + * Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + */ + alternativeAuthenticationNameSources?: string[]; + /** + * One or more `dynamicRoutingEnrichment` blocks as defined below. + */ + dynamicRoutingEnrichments?: outputs.eventgrid.NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment[]; + /** + * Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + */ + maximumClientSessionsPerAuthenticationName?: number; + /** + * Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + */ + maximumSessionExpiryInHours?: number; + /** + * Specifies the Event Grid topic resource ID to route messages to. + */ + routeTopicId?: string; + /** + * One or more `staticRoutingEnrichment` blocks as defined below. + */ + staticRoutingEnrichments?: outputs.eventgrid.NamespaceTopicSpacesConfigurationStaticRoutingEnrichment[]; + } + + export interface NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment { + /** + * The enrichment key. + */ + key: string; + /** + * The enrichment value. + */ + value: string; + } + + export interface NamespaceTopicSpacesConfigurationStaticRoutingEnrichment { + /** + * The enrichment key. + */ + key: string; + /** + * The enrichment value. + */ + value: string; + } + export interface SystemTopicEventSubscriptionAdvancedFilter { /** * Compares a value of an event using a single boolean value. @@ -48367,19 +48457,13 @@ export namespace monitoring { */ category: string; /** - * A `retentionPolicy` block as defined below. + * @deprecated Azure does not support retention for new Azure Active Directory Diagnostic Settings */ - retentionPolicy: outputs.monitoring.AadDiagnosticSettingEnabledLogRetentionPolicy; + retentionPolicy?: outputs.monitoring.AadDiagnosticSettingEnabledLogRetentionPolicy; } export interface AadDiagnosticSettingEnabledLogRetentionPolicy { - /** - * The number of days for which this Retention Policy should apply. Defaults to `0`. - */ days?: number; - /** - * Is this Retention Policy enabled? Defaults to `false`. - */ enabled?: boolean; } @@ -53457,7 +53541,7 @@ export namespace network { */ ruleSetType?: string; /** - * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. */ ruleSetVersion: string; } @@ -56664,7 +56748,7 @@ export namespace network { */ actions?: string[]; /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. */ name: string; } @@ -57334,7 +57418,7 @@ export namespace network { */ actions?: string[]; /** - * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + * The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. */ name: string; } @@ -65667,7 +65751,7 @@ export namespace waf { */ type?: string; /** - * The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + * The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. */ version?: string; } @@ -65694,7 +65778,7 @@ export namespace waf { */ type?: string; /** - * The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + * The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. */ version: string; } diff --git a/sdk/python/pulumi_azure/__init__.py b/sdk/python/pulumi_azure/__init__.py index 68a88614b4..d65fbfc0e8 100644 --- a/sdk/python/pulumi_azure/__init__.py +++ b/sdk/python/pulumi_azure/__init__.py @@ -3331,6 +3331,14 @@ "azure:databricks/workspace:Workspace": "Workspace" } }, + { + "pkg": "azure", + "mod": "databricks/workspaceCustomerManagedKey", + "fqn": "pulumi_azure.databricks", + "classes": { + "azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey": "WorkspaceCustomerManagedKey" + } + }, { "pkg": "azure", "mod": "databricks/workspaceRootDbfsCustomerManagedKey", @@ -4323,6 +4331,14 @@ "azure:eventgrid/eventSubscription:EventSubscription": "EventSubscription" } }, + { + "pkg": "azure", + "mod": "eventgrid/namespace", + "fqn": "pulumi_azure.eventgrid", + "classes": { + "azure:eventgrid/namespace:Namespace": "Namespace" + } + }, { "pkg": "azure", "mod": "eventgrid/systemTopic", diff --git a/sdk/python/pulumi_azure/apimanagement/_inputs.py b/sdk/python/pulumi_azure/apimanagement/_inputs.py index b88ce9f69a..7dbf2a0794 100644 --- a/sdk/python/pulumi_azure/apimanagement/_inputs.py +++ b/sdk/python/pulumi_azure/apimanagement/_inputs.py @@ -1177,7 +1177,7 @@ class ApiImportArgsDict(TypedDict): """ content_value: pulumi.Input[str] """ - The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. """ wsdl_selector: NotRequired[pulumi.Input['ApiImportWsdlSelectorArgsDict']] """ @@ -1194,7 +1194,7 @@ def __init__(__self__, *, wsdl_selector: Optional[pulumi.Input['ApiImportWsdlSelectorArgs']] = None): """ :param pulumi.Input[str] content_format: The format of the content from which the API Definition should be imported. Possible values are: `openapi`, `openapi+json`, `openapi+json-link`, `openapi-link`, `swagger-json`, `swagger-link-json`, `wadl-link-json`, `wadl-xml`, `wsdl` and `wsdl-link`. - :param pulumi.Input[str] content_value: The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + :param pulumi.Input[str] content_value: The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. :param pulumi.Input['ApiImportWsdlSelectorArgs'] wsdl_selector: A `wsdl_selector` block as defined below, which allows you to limit the import of a WSDL to only a subset of the document. This can only be specified when `content_format` is `wsdl` or `wsdl-link`. """ pulumi.set(__self__, "content_format", content_format) @@ -1218,7 +1218,7 @@ def content_format(self, value: pulumi.Input[str]): @pulumi.getter(name="contentValue") def content_value(self) -> pulumi.Input[str]: """ - The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. """ return pulumi.get(self, "content_value") diff --git a/sdk/python/pulumi_azure/apimanagement/api.py b/sdk/python/pulumi_azure/apimanagement/api.py index f615ca7c1d..49442e9082 100644 --- a/sdk/python/pulumi_azure/apimanagement/api.py +++ b/sdk/python/pulumi_azure/apimanagement/api.py @@ -873,7 +873,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_schema_swagger.json", }) ``` @@ -950,7 +950,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_schema_swagger.json", }) ``` diff --git a/sdk/python/pulumi_azure/apimanagement/outputs.py b/sdk/python/pulumi_azure/apimanagement/outputs.py index ab07aec1c9..31dbc73fd2 100644 --- a/sdk/python/pulumi_azure/apimanagement/outputs.py +++ b/sdk/python/pulumi_azure/apimanagement/outputs.py @@ -872,7 +872,7 @@ def __init__(__self__, *, wsdl_selector: Optional['outputs.ApiImportWsdlSelector'] = None): """ :param str content_format: The format of the content from which the API Definition should be imported. Possible values are: `openapi`, `openapi+json`, `openapi+json-link`, `openapi-link`, `swagger-json`, `swagger-link-json`, `wadl-link-json`, `wadl-xml`, `wsdl` and `wsdl-link`. - :param str content_value: The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + :param str content_value: The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. :param 'ApiImportWsdlSelectorArgs' wsdl_selector: A `wsdl_selector` block as defined below, which allows you to limit the import of a WSDL to only a subset of the document. This can only be specified when `content_format` is `wsdl` or `wsdl-link`. """ pulumi.set(__self__, "content_format", content_format) @@ -892,7 +892,7 @@ def content_format(self) -> str: @pulumi.getter(name="contentValue") def content_value(self) -> str: """ - The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. + The Content from which the API Definition should be imported. When a `content_format` of `*-link-*` is specified this must be a URL, otherwise this must be defined inline. The URL must be accessible and return a valid document; otherwise, deployment may fail. """ return pulumi.get(self, "content_value") diff --git a/sdk/python/pulumi_azure/arcmachine/__init__.py b/sdk/python/pulumi_azure/arcmachine/__init__.py index f77c1c1948..a16ab2b507 100644 --- a/sdk/python/pulumi_azure/arcmachine/__init__.py +++ b/sdk/python/pulumi_azure/arcmachine/__init__.py @@ -9,4 +9,5 @@ from .automanage_configuration_assignment import * from .extension import * from .get import * +from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure/arcmachine/_inputs.py b/sdk/python/pulumi_azure/arcmachine/_inputs.py new file mode 100644 index 0000000000..0d3c0ddc28 --- /dev/null +++ b/sdk/python/pulumi_azure/arcmachine/_inputs.py @@ -0,0 +1,94 @@ +# 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__ = [ + 'ArcMachineIdentityArgs', + 'ArcMachineIdentityArgsDict', +] + +MYPY = False + +if not MYPY: + class ArcMachineIdentityArgsDict(TypedDict): + type: pulumi.Input[str] + """ + Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + """ + principal_id: NotRequired[pulumi.Input[str]] + """ + The Principal ID associated with this Managed Service Identity. + """ + tenant_id: NotRequired[pulumi.Input[str]] + """ + The Tenant ID associated with this Managed Service Identity. + """ +elif False: + ArcMachineIdentityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ArcMachineIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + principal_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] type: Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + :param pulumi.Input[str] principal_id: The Principal ID associated with this Managed Service Identity. + :param pulumi.Input[str] tenant_id: The Tenant ID associated with this Managed Service Identity. + """ + pulumi.set(__self__, "type", type) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[pulumi.Input[str]]: + """ + The Principal ID associated with this Managed Service Identity. + """ + return pulumi.get(self, "principal_id") + + @principal_id.setter + def principal_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "principal_id", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + The Tenant ID associated with this Managed Service Identity. + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + diff --git a/sdk/python/pulumi_azure/arcmachine/arc_machine.py b/sdk/python/pulumi_azure/arcmachine/arc_machine.py index afe122f185..3d2290c0a8 100644 --- a/sdk/python/pulumi_azure/arcmachine/arc_machine.py +++ b/sdk/python/pulumi_azure/arcmachine/arc_machine.py @@ -13,6 +13,8 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities +from . import outputs +from ._inputs import * __all__ = ['ArcMachineArgs', 'ArcMachine'] @@ -21,21 +23,29 @@ class ArcMachineArgs: def __init__(__self__, *, kind: pulumi.Input[str], resource_group_name: pulumi.Input[str], + identity: Optional[pulumi.Input['ArcMachineIdentityArgs']] = None, location: Optional[pulumi.Input[str]] = None, - name: 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 ArcMachine resource. :param pulumi.Input[str] kind: The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created. + :param pulumi.Input['ArcMachineIdentityArgs'] identity: An `identity` block as defined below. :param pulumi.Input[str] location: The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: The name of the Arc machine. 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 Arc Machine. """ pulumi.set(__self__, "kind", kind) pulumi.set(__self__, "resource_group_name", resource_group_name) + if identity is not None: + pulumi.set(__self__, "identity", identity) 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 @@ -61,6 +71,18 @@ def resource_group_name(self) -> pulumi.Input[str]: def resource_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "resource_group_name", value) + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ArcMachineIdentityArgs']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ArcMachineIdentityArgs']]): + pulumi.set(self, "identity", value) + @property @pulumi.getter def location(self) -> Optional[pulumi.Input[str]]: @@ -85,21 +107,39 @@ def name(self) -> Optional[pulumi.Input[str]]: 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 Arc Machine. + """ + 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 _ArcMachineState: def __init__(__self__, *, + identity: Optional[pulumi.Input['ArcMachineIdentityArgs']] = None, kind: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None): + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ Input properties used for looking up and filtering ArcMachine resources. + :param pulumi.Input['ArcMachineIdentityArgs'] identity: An `identity` block as defined below. :param pulumi.Input[str] kind: The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. :param pulumi.Input[str] location: The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: The name of the Arc machine. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the Resource Group where the Arc Machine should exist. 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 Arc Machine. """ + if identity is not None: + pulumi.set(__self__, "identity", identity) if kind is not None: pulumi.set(__self__, "kind", kind) if location is not None: @@ -108,6 +148,20 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if resource_group_name is not None: pulumi.set(__self__, "resource_group_name", resource_group_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ArcMachineIdentityArgs']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ArcMachineIdentityArgs']]): + pulumi.set(self, "identity", value) @property @pulumi.getter @@ -157,16 +211,30 @@ def resource_group_name(self) -> Optional[pulumi.Input[str]]: def resource_group_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_group_name", value) + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + A mapping of tags to assign to the Arc Machine. + """ + 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 ArcMachine(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + identity: Optional[pulumi.Input[Union['ArcMachineIdentityArgs', 'ArcMachineIdentityArgsDict']]] = None, kind: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Manages a Hybrid Compute Machine. @@ -184,7 +252,13 @@ def __init__(__self__, name="example-arcmachine", resource_group_name=example.name, location=example.location, - kind="SCVMM") + kind="SCVMM", + identity={ + "type": "SystemAssigned", + }, + tags={ + "environment": "example", + }) ``` ## Import @@ -197,10 +271,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['ArcMachineIdentityArgs', 'ArcMachineIdentityArgsDict']] identity: An `identity` block as defined below. :param pulumi.Input[str] kind: The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. :param pulumi.Input[str] location: The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: The name of the Arc machine. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the Resource Group where the Arc Machine should exist. 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 Arc Machine. """ ... @overload @@ -224,7 +300,13 @@ def __init__(__self__, name="example-arcmachine", resource_group_name=example.name, location=example.location, - kind="SCVMM") + kind="SCVMM", + identity={ + "type": "SystemAssigned", + }, + tags={ + "environment": "example", + }) ``` ## Import @@ -250,10 +332,12 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + identity: Optional[pulumi.Input[Union['ArcMachineIdentityArgs', 'ArcMachineIdentityArgsDict']]] = None, kind: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, resource_group_name: Optional[pulumi.Input[str]] = 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): @@ -263,6 +347,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ArcMachineArgs.__new__(ArcMachineArgs) + __props__.__dict__["identity"] = identity if kind is None and not opts.urn: raise TypeError("Missing required property 'kind'") __props__.__dict__["kind"] = kind @@ -271,6 +356,7 @@ def _internal_init(__self__, 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 + __props__.__dict__["tags"] = tags super(ArcMachine, __self__).__init__( 'azure:arcmachine/arcMachine:ArcMachine', resource_name, @@ -281,10 +367,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + identity: Optional[pulumi.Input[Union['ArcMachineIdentityArgs', 'ArcMachineIdentityArgsDict']]] = None, kind: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - resource_group_name: Optional[pulumi.Input[str]] = None) -> 'ArcMachine': + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'ArcMachine': """ Get an existing ArcMachine resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -292,21 +380,33 @@ def get(resource_name: str, :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[Union['ArcMachineIdentityArgs', 'ArcMachineIdentityArgsDict']] identity: An `identity` block as defined below. :param pulumi.Input[str] kind: The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created. :param pulumi.Input[str] location: The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: The name of the Arc machine. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the Resource Group where the Arc Machine should exist. 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 Arc Machine. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _ArcMachineState.__new__(_ArcMachineState) + __props__.__dict__["identity"] = identity __props__.__dict__["kind"] = kind __props__.__dict__["location"] = location __props__.__dict__["name"] = name __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags return ArcMachine(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ArcMachineIdentity']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + @property @pulumi.getter def kind(self) -> pulumi.Output[str]: @@ -339,3 +439,11 @@ def resource_group_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "resource_group_name") + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + A mapping of tags to assign to the Arc Machine. + """ + return pulumi.get(self, "tags") + diff --git a/sdk/python/pulumi_azure/arcmachine/outputs.py b/sdk/python/pulumi_azure/arcmachine/outputs.py index 508d8d909c..8fb4c7b5b9 100644 --- a/sdk/python/pulumi_azure/arcmachine/outputs.py +++ b/sdk/python/pulumi_azure/arcmachine/outputs.py @@ -16,6 +16,7 @@ from . import outputs __all__ = [ + 'ArcMachineIdentity', 'GetAgentResult', 'GetAgentExtensionsAllowListResult', 'GetAgentExtensionsBlockListResult', @@ -32,6 +33,67 @@ 'GetServiceStatusGuestConfigurationServiceResult', ] +@pulumi.output_type +class ArcMachineIdentity(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ArcMachineIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ArcMachineIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ArcMachineIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + principal_id: Optional[str] = None, + tenant_id: Optional[str] = None): + """ + :param str type: Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + :param str principal_id: The Principal ID associated with this Managed Service Identity. + :param str tenant_id: The Tenant ID associated with this Managed Service Identity. + """ + pulumi.set(__self__, "type", type) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def type(self) -> str: + """ + Specifies the type of Managed Service Identity assigned to this Arc Machine. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + """ + The Principal ID associated with this Managed Service Identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + """ + The Tenant ID associated with this Managed Service Identity. + """ + return pulumi.get(self, "tenant_id") + + @pulumi.output_type class GetAgentResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_azure/authorization/assignment.py b/sdk/python/pulumi_azure/authorization/assignment.py index 3780f9ba3b..b9f53b6042 100644 --- a/sdk/python/pulumi_azure/authorization/assignment.py +++ b/sdk/python/pulumi_azure/authorization/assignment.py @@ -884,7 +884,7 @@ def condition(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="conditionVersion") - def condition_version(self) -> pulumi.Output[Optional[str]]: + def condition_version(self) -> pulumi.Output[str]: """ The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. """ diff --git a/sdk/python/pulumi_azure/cosmosdb/account.py b/sdk/python/pulumi_azure/cosmosdb/account.py index 308356b2e3..a0e4d2696f 100644 --- a/sdk/python/pulumi_azure/cosmosdb/account.py +++ b/sdk/python/pulumi_azure/cosmosdb/account.py @@ -68,6 +68,8 @@ def __init__(__self__, *, :param pulumi.Input[str] default_identity_type: The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`. :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[str] minimal_tls_version: Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. :param pulumi.Input[str] name: Specifies the name of the CosmosDB Account. 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 resource. """ @@ -382,6 +384,8 @@ def managed_hsm_key_id(self, value: Optional[pulumi.Input[str]]): def minimal_tls_version(self) -> Optional[pulumi.Input[str]]: """ Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. """ return pulumi.get(self, "minimal_tls_version") @@ -550,6 +554,8 @@ def __init__(__self__, *, :param pulumi.Input[str] endpoint: The endpoint used to connect to the CosmosDB account. :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[str] minimal_tls_version: Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. :param pulumi.Input[str] name: Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. :param pulumi.Input[str] offer_type: Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`. :param pulumi.Input[str] primary_key: The Primary key for the CosmosDB Account. @@ -902,6 +908,8 @@ def managed_hsm_key_id(self, value: Optional[pulumi.Input[str]]): def minimal_tls_version(self) -> Optional[pulumi.Input[str]]: """ Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. """ return pulumi.get(self, "minimal_tls_version") @@ -1349,6 +1357,8 @@ def __init__(__self__, :param pulumi.Input[str] default_identity_type: The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`. :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[str] minimal_tls_version: Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. :param pulumi.Input[str] name: Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. :param pulumi.Input[str] offer_type: Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created. @@ -1655,6 +1665,8 @@ def get(resource_name: str, :param pulumi.Input[str] endpoint: The endpoint used to connect to the CosmosDB account. :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[str] minimal_tls_version: Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. :param pulumi.Input[str] name: Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. :param pulumi.Input[str] offer_type: Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`. :param pulumi.Input[str] primary_key: The Primary key for the CosmosDB Account. @@ -1870,6 +1882,8 @@ def managed_hsm_key_id(self) -> pulumi.Output[Optional[str]]: def minimal_tls_version(self) -> pulumi.Output[Optional[str]]: """ Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`. + + > **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 details. """ return pulumi.get(self, "minimal_tls_version") diff --git a/sdk/python/pulumi_azure/databricks/__init__.py b/sdk/python/pulumi_azure/databricks/__init__.py index 86dd1be3be..2da969c4e1 100644 --- a/sdk/python/pulumi_azure/databricks/__init__.py +++ b/sdk/python/pulumi_azure/databricks/__init__.py @@ -11,6 +11,7 @@ from .get_workspace_private_endpoint_connection import * from .virtual_network_peering import * from .workspace import * +from .workspace_customer_managed_key import * from .workspace_root_dbfs_customer_managed_key import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_azure/databricks/workspace_customer_managed_key.py b/sdk/python/pulumi_azure/databricks/workspace_customer_managed_key.py new file mode 100644 index 0000000000..5c24f57e73 --- /dev/null +++ b/sdk/python/pulumi_azure/databricks/workspace_customer_managed_key.py @@ -0,0 +1,198 @@ +# 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__ = ['WorkspaceCustomerManagedKeyArgs', 'WorkspaceCustomerManagedKey'] + +@pulumi.input_type +class WorkspaceCustomerManagedKeyArgs: + def __init__(__self__, *, + key_vault_key_id: pulumi.Input[str], + workspace_id: pulumi.Input[str]): + """ + The set of arguments for constructing a WorkspaceCustomerManagedKey resource. + :param pulumi.Input[str] workspace_id: The unique identifier of the databricks workspace in Databricks control plane. + """ + pulumi.set(__self__, "key_vault_key_id", key_vault_key_id) + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="keyVaultKeyId") + def key_vault_key_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "key_vault_key_id") + + @key_vault_key_id.setter + def key_vault_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "key_vault_key_id", value) + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> pulumi.Input[str]: + """ + The unique identifier of the databricks workspace in Databricks control plane. + """ + return pulumi.get(self, "workspace_id") + + @workspace_id.setter + def workspace_id(self, value: pulumi.Input[str]): + pulumi.set(self, "workspace_id", value) + + +@pulumi.input_type +class _WorkspaceCustomerManagedKeyState: + def __init__(__self__, *, + key_vault_key_id: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering WorkspaceCustomerManagedKey resources. + :param pulumi.Input[str] workspace_id: The unique identifier of the databricks workspace in Databricks control plane. + """ + if key_vault_key_id is not None: + pulumi.set(__self__, "key_vault_key_id", key_vault_key_id) + if workspace_id is not None: + pulumi.set(__self__, "workspace_id", workspace_id) + + @property + @pulumi.getter(name="keyVaultKeyId") + def key_vault_key_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key_vault_key_id") + + @key_vault_key_id.setter + def key_vault_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_vault_key_id", value) + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier of the databricks workspace in Databricks control plane. + """ + return pulumi.get(self, "workspace_id") + + @workspace_id.setter + def workspace_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workspace_id", value) + + +class WorkspaceCustomerManagedKey(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + key_vault_key_id: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Import + + Databrick Workspaces can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] workspace_id: The unique identifier of the databricks workspace in Databricks control plane. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WorkspaceCustomerManagedKeyArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Import + + Databrick Workspaces can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey workspace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Databricks/workspaces/workspace1 + ``` + + :param str resource_name: The name of the resource. + :param WorkspaceCustomerManagedKeyArgs 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(WorkspaceCustomerManagedKeyArgs, 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, + key_vault_key_id: Optional[pulumi.Input[str]] = None, + workspace_id: 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__ = WorkspaceCustomerManagedKeyArgs.__new__(WorkspaceCustomerManagedKeyArgs) + + if key_vault_key_id is None and not opts.urn: + raise TypeError("Missing required property 'key_vault_key_id'") + __props__.__dict__["key_vault_key_id"] = key_vault_key_id + if workspace_id is None and not opts.urn: + raise TypeError("Missing required property 'workspace_id'") + __props__.__dict__["workspace_id"] = workspace_id + super(WorkspaceCustomerManagedKey, __self__).__init__( + 'azure:databricks/workspaceCustomerManagedKey:WorkspaceCustomerManagedKey', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + key_vault_key_id: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None) -> 'WorkspaceCustomerManagedKey': + """ + Get an existing WorkspaceCustomerManagedKey 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] workspace_id: The unique identifier of the databricks workspace in Databricks control plane. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _WorkspaceCustomerManagedKeyState.__new__(_WorkspaceCustomerManagedKeyState) + + __props__.__dict__["key_vault_key_id"] = key_vault_key_id + __props__.__dict__["workspace_id"] = workspace_id + return WorkspaceCustomerManagedKey(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="keyVaultKeyId") + def key_vault_key_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "key_vault_key_id") + + @property + @pulumi.getter(name="workspaceId") + def workspace_id(self) -> pulumi.Output[str]: + """ + The unique identifier of the databricks workspace in Databricks control plane. + """ + return pulumi.get(self, "workspace_id") + diff --git a/sdk/python/pulumi_azure/eventgrid/__init__.py b/sdk/python/pulumi_azure/eventgrid/__init__.py index f9fdc2f281..b095470cd0 100644 --- a/sdk/python/pulumi_azure/eventgrid/__init__.py +++ b/sdk/python/pulumi_azure/eventgrid/__init__.py @@ -12,6 +12,7 @@ from .get_domain_topic import * from .get_system_topic import * from .get_topic import * +from .namespace import * from .system_topic import * from .system_topic_event_subscription import * from .topic import * diff --git a/sdk/python/pulumi_azure/eventgrid/_inputs.py b/sdk/python/pulumi_azure/eventgrid/_inputs.py index d92a08486c..1c979218fd 100644 --- a/sdk/python/pulumi_azure/eventgrid/_inputs.py +++ b/sdk/python/pulumi_azure/eventgrid/_inputs.py @@ -81,6 +81,16 @@ 'EventSubscriptionSubjectFilterArgsDict', 'EventSubscriptionWebhookEndpointArgs', 'EventSubscriptionWebhookEndpointArgsDict', + 'NamespaceIdentityArgs', + 'NamespaceIdentityArgsDict', + 'NamespaceInboundIpRuleArgs', + 'NamespaceInboundIpRuleArgsDict', + 'NamespaceTopicSpacesConfigurationArgs', + 'NamespaceTopicSpacesConfigurationArgsDict', + 'NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs', + 'NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgsDict', + 'NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs', + 'NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgsDict', 'SystemTopicEventSubscriptionAdvancedFilterArgs', 'SystemTopicEventSubscriptionAdvancedFilterArgsDict', 'SystemTopicEventSubscriptionAdvancedFilterBoolEqualArgs', @@ -2514,6 +2524,372 @@ def preferred_batch_size_in_kilobytes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "preferred_batch_size_in_kilobytes", value) +if not MYPY: + class NamespaceIdentityArgsDict(TypedDict): + type: pulumi.Input[str] + """ + Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + """ + identity_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + + > **NOTE:** This is required when `type` is set to `UserAssigned` + """ + principal_id: NotRequired[pulumi.Input[str]] + tenant_id: NotRequired[pulumi.Input[str]] +elif False: + NamespaceIdentityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NamespaceIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + identity_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + principal_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] type: Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + :param pulumi.Input[Sequence[pulumi.Input[str]]] identity_ids: Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + + > **NOTE:** This is required when `type` is set to `UserAssigned` + """ + pulumi.set(__self__, "type", type) + if identity_ids is not None: + pulumi.set(__self__, "identity_ids", identity_ids) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="identityIds") + def identity_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + + > **NOTE:** This is required when `type` is set to `UserAssigned` + """ + return pulumi.get(self, "identity_ids") + + @identity_ids.setter + def identity_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "identity_ids", value) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "principal_id") + + @principal_id.setter + def principal_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "principal_id", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + +if not MYPY: + class NamespaceInboundIpRuleArgsDict(TypedDict): + ip_mask: pulumi.Input[str] + """ + The IP mask (CIDR) to match on. + """ + action: NotRequired[pulumi.Input[str]] + """ + The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + """ +elif False: + NamespaceInboundIpRuleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NamespaceInboundIpRuleArgs: + def __init__(__self__, *, + ip_mask: pulumi.Input[str], + action: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ip_mask: The IP mask (CIDR) to match on. + :param pulumi.Input[str] action: The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + """ + pulumi.set(__self__, "ip_mask", ip_mask) + if action is not None: + pulumi.set(__self__, "action", action) + + @property + @pulumi.getter(name="ipMask") + def ip_mask(self) -> pulumi.Input[str]: + """ + The IP mask (CIDR) to match on. + """ + return pulumi.get(self, "ip_mask") + + @ip_mask.setter + def ip_mask(self, value: pulumi.Input[str]): + pulumi.set(self, "ip_mask", value) + + @property + @pulumi.getter + def action(self) -> Optional[pulumi.Input[str]]: + """ + The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + """ + return pulumi.get(self, "action") + + @action.setter + def action(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "action", value) + + +if not MYPY: + class NamespaceTopicSpacesConfigurationArgsDict(TypedDict): + alternative_authentication_name_sources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + """ + dynamic_routing_enrichments: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgsDict']]]] + """ + One or more `dynamic_routing_enrichment` blocks as defined below. + """ + maximum_client_sessions_per_authentication_name: NotRequired[pulumi.Input[int]] + """ + Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + """ + maximum_session_expiry_in_hours: NotRequired[pulumi.Input[int]] + """ + Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + """ + route_topic_id: NotRequired[pulumi.Input[str]] + """ + Specifies the Event Grid topic resource ID to route messages to. + """ + static_routing_enrichments: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgsDict']]]] + """ + One or more `static_routing_enrichment` blocks as defined below. + """ +elif False: + NamespaceTopicSpacesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NamespaceTopicSpacesConfigurationArgs: + def __init__(__self__, *, + alternative_authentication_name_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + dynamic_routing_enrichments: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs']]]] = None, + maximum_client_sessions_per_authentication_name: Optional[pulumi.Input[int]] = None, + maximum_session_expiry_in_hours: Optional[pulumi.Input[int]] = None, + route_topic_id: Optional[pulumi.Input[str]] = None, + static_routing_enrichments: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] alternative_authentication_name_sources: Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs']]] dynamic_routing_enrichments: One or more `dynamic_routing_enrichment` blocks as defined below. + :param pulumi.Input[int] maximum_client_sessions_per_authentication_name: Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + :param pulumi.Input[int] maximum_session_expiry_in_hours: Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + :param pulumi.Input[str] route_topic_id: Specifies the Event Grid topic resource ID to route messages to. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs']]] static_routing_enrichments: One or more `static_routing_enrichment` blocks as defined below. + """ + if alternative_authentication_name_sources is not None: + pulumi.set(__self__, "alternative_authentication_name_sources", alternative_authentication_name_sources) + if dynamic_routing_enrichments is not None: + pulumi.set(__self__, "dynamic_routing_enrichments", dynamic_routing_enrichments) + if maximum_client_sessions_per_authentication_name is not None: + pulumi.set(__self__, "maximum_client_sessions_per_authentication_name", maximum_client_sessions_per_authentication_name) + if maximum_session_expiry_in_hours is not None: + pulumi.set(__self__, "maximum_session_expiry_in_hours", maximum_session_expiry_in_hours) + if route_topic_id is not None: + pulumi.set(__self__, "route_topic_id", route_topic_id) + if static_routing_enrichments is not None: + pulumi.set(__self__, "static_routing_enrichments", static_routing_enrichments) + + @property + @pulumi.getter(name="alternativeAuthenticationNameSources") + def alternative_authentication_name_sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + """ + return pulumi.get(self, "alternative_authentication_name_sources") + + @alternative_authentication_name_sources.setter + def alternative_authentication_name_sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "alternative_authentication_name_sources", value) + + @property + @pulumi.getter(name="dynamicRoutingEnrichments") + def dynamic_routing_enrichments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs']]]]: + """ + One or more `dynamic_routing_enrichment` blocks as defined below. + """ + return pulumi.get(self, "dynamic_routing_enrichments") + + @dynamic_routing_enrichments.setter + def dynamic_routing_enrichments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs']]]]): + pulumi.set(self, "dynamic_routing_enrichments", value) + + @property + @pulumi.getter(name="maximumClientSessionsPerAuthenticationName") + def maximum_client_sessions_per_authentication_name(self) -> Optional[pulumi.Input[int]]: + """ + Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + """ + return pulumi.get(self, "maximum_client_sessions_per_authentication_name") + + @maximum_client_sessions_per_authentication_name.setter + def maximum_client_sessions_per_authentication_name(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "maximum_client_sessions_per_authentication_name", value) + + @property + @pulumi.getter(name="maximumSessionExpiryInHours") + def maximum_session_expiry_in_hours(self) -> Optional[pulumi.Input[int]]: + """ + Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + """ + return pulumi.get(self, "maximum_session_expiry_in_hours") + + @maximum_session_expiry_in_hours.setter + def maximum_session_expiry_in_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "maximum_session_expiry_in_hours", value) + + @property + @pulumi.getter(name="routeTopicId") + def route_topic_id(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the Event Grid topic resource ID to route messages to. + """ + return pulumi.get(self, "route_topic_id") + + @route_topic_id.setter + def route_topic_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "route_topic_id", value) + + @property + @pulumi.getter(name="staticRoutingEnrichments") + def static_routing_enrichments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs']]]]: + """ + One or more `static_routing_enrichment` blocks as defined below. + """ + return pulumi.get(self, "static_routing_enrichments") + + @static_routing_enrichments.setter + def static_routing_enrichments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs']]]]): + pulumi.set(self, "static_routing_enrichments", value) + + +if not MYPY: + class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The enrichment key. + """ + value: pulumi.Input[str] + """ + The enrichment value. + """ +elif False: + NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] key: The enrichment key. + :param pulumi.Input[str] value: The enrichment value. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The enrichment key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The enrichment value. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The enrichment key. + """ + value: pulumi.Input[str] + """ + The enrichment value. + """ +elif False: + NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] key: The enrichment key. + :param pulumi.Input[str] value: The enrichment value. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + The enrichment key. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + The enrichment value. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + if not MYPY: class SystemTopicEventSubscriptionAdvancedFilterArgsDict(TypedDict): bool_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input['SystemTopicEventSubscriptionAdvancedFilterBoolEqualArgsDict']]]] diff --git a/sdk/python/pulumi_azure/eventgrid/namespace.py b/sdk/python/pulumi_azure/eventgrid/namespace.py new file mode 100644 index 0000000000..15e1c55a1f --- /dev/null +++ b/sdk/python/pulumi_azure/eventgrid/namespace.py @@ -0,0 +1,628 @@ +# 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__ = ['NamespaceArgs', 'Namespace'] + +@pulumi.input_type +class NamespaceArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + capacity: Optional[pulumi.Input[int]] = None, + identity: Optional[pulumi.Input['NamespaceIdentityArgs']] = None, + inbound_ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + topic_spaces_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]] = None): + """ + The set of arguments for constructing a Namespace resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + :param pulumi.Input[int] capacity: Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + :param pulumi.Input['NamespaceIdentityArgs'] identity: An `identity` block as defined below. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]] inbound_ip_rules: One or more `inbound_ip_rule` blocks as defined below. + :param pulumi.Input[str] location: Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + :param pulumi.Input[str] public_network_access: Whether or not public network access is allowed for this server. Defaults to `Enabled`. + :param pulumi.Input[str] sku: Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]] topic_spaces_configurations: A `topic_spaces_configuration` block as defined below. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if inbound_ip_rules is not None: + pulumi.set(__self__, "inbound_ip_rules", inbound_ip_rules) + if location is not None: + pulumi.set(__self__, "location", location) + if name is not None: + pulumi.set(__self__, "name", name) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if topic_spaces_configurations is not None: + pulumi.set(__self__, "topic_spaces_configurations", topic_spaces_configurations) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group in which the Event Grid Namespace should exist. 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 capacity(self) -> Optional[pulumi.Input[int]]: + """ + Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['NamespaceIdentityArgs']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['NamespaceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="inboundIpRules") + def inbound_ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]]: + """ + One or more `inbound_ip_rule` blocks as defined below. + """ + return pulumi.get(self, "inbound_ip_rules") + + @inbound_ip_rules.setter + def inbound_ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]]): + pulumi.set(self, "inbound_ip_rules", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the supported Azure location where the resource should exist. 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]]: + """ + Specifies the name of the Event Grid Namespace resource. 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="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[str]]: + """ + Whether or not public network access is allowed for this server. Defaults to `Enabled`. + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input[str]]: + """ + Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input[str]]): + 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 resource. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="topicSpacesConfigurations") + def topic_spaces_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]]: + """ + A `topic_spaces_configuration` block as defined below. + """ + return pulumi.get(self, "topic_spaces_configurations") + + @topic_spaces_configurations.setter + def topic_spaces_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]]): + pulumi.set(self, "topic_spaces_configurations", value) + + +@pulumi.input_type +class _NamespaceState: + def __init__(__self__, *, + capacity: Optional[pulumi.Input[int]] = None, + identity: Optional[pulumi.Input['NamespaceIdentityArgs']] = None, + inbound_ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + topic_spaces_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]] = None): + """ + Input properties used for looking up and filtering Namespace resources. + :param pulumi.Input[int] capacity: Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + :param pulumi.Input['NamespaceIdentityArgs'] identity: An `identity` block as defined below. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]] inbound_ip_rules: One or more `inbound_ip_rule` blocks as defined below. + :param pulumi.Input[str] location: Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + :param pulumi.Input[str] public_network_access: Whether or not public network access is allowed for this server. Defaults to `Enabled`. + :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] sku: Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. + :param pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]] topic_spaces_configurations: A `topic_spaces_configuration` block as defined below. + """ + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if inbound_ip_rules is not None: + pulumi.set(__self__, "inbound_ip_rules", inbound_ip_rules) + if location is not None: + pulumi.set(__self__, "location", location) + if name is not None: + pulumi.set(__self__, "name", name) + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + 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) + if topic_spaces_configurations is not None: + pulumi.set(__self__, "topic_spaces_configurations", topic_spaces_configurations) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[int]]: + """ + Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['NamespaceIdentityArgs']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['NamespaceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="inboundIpRules") + def inbound_ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]]: + """ + One or more `inbound_ip_rule` blocks as defined below. + """ + return pulumi.get(self, "inbound_ip_rules") + + @inbound_ip_rules.setter + def inbound_ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceInboundIpRuleArgs']]]]): + pulumi.set(self, "inbound_ip_rules", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the supported Azure location where the resource should exist. 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]]: + """ + Specifies the name of the Event Grid Namespace resource. 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="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[str]]: + """ + Whether or not public network access is allowed for this server. Defaults to `Enabled`. + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the resource group in which the Event Grid Namespace should exist. 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[str]]: + """ + Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input[str]]): + 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 resource. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="topicSpacesConfigurations") + def topic_spaces_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]]: + """ + A `topic_spaces_configuration` block as defined below. + """ + return pulumi.get(self, "topic_spaces_configurations") + + @topic_spaces_configurations.setter + def topic_spaces_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceTopicSpacesConfigurationArgs']]]]): + pulumi.set(self, "topic_spaces_configurations", value) + + +class Namespace(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + capacity: Optional[pulumi.Input[int]] = None, + identity: Optional[pulumi.Input[Union['NamespaceIdentityArgs', 'NamespaceIdentityArgsDict']]] = None, + inbound_ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceInboundIpRuleArgs', 'NamespaceInboundIpRuleArgsDict']]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + topic_spaces_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceTopicSpacesConfigurationArgs', 'NamespaceTopicSpacesConfigurationArgsDict']]]]] = None, + __props__=None): + """ + Manages an EventGrid Namespace + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + example = azure.core.ResourceGroup("example", + name="example-resources", + location="West Europe") + example_namespace = azure.eventgrid.Namespace("example", + name="my-eventgrid-namespace", + location=example.location, + resource_group_name=example.name, + tags={ + "environment": "Production", + }) + ``` + + ## Import + + EventGrid Namespace's can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[int] capacity: Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + :param pulumi.Input[Union['NamespaceIdentityArgs', 'NamespaceIdentityArgsDict']] identity: An `identity` block as defined below. + :param pulumi.Input[Sequence[pulumi.Input[Union['NamespaceInboundIpRuleArgs', 'NamespaceInboundIpRuleArgsDict']]]] inbound_ip_rules: One or more `inbound_ip_rule` blocks as defined below. + :param pulumi.Input[str] location: Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + :param pulumi.Input[str] public_network_access: Whether or not public network access is allowed for this server. Defaults to `Enabled`. + :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] sku: Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['NamespaceTopicSpacesConfigurationArgs', 'NamespaceTopicSpacesConfigurationArgsDict']]]] topic_spaces_configurations: A `topic_spaces_configuration` block as defined below. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NamespaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages an EventGrid Namespace + + ## Example Usage + + ```python + import pulumi + import pulumi_azure as azure + + example = azure.core.ResourceGroup("example", + name="example-resources", + location="West Europe") + example_namespace = azure.eventgrid.Namespace("example", + name="my-eventgrid-namespace", + location=example.location, + resource_group_name=example.name, + tags={ + "environment": "Production", + }) + ``` + + ## Import + + EventGrid Namespace's can be imported using the `resource id`, e.g. + + ```sh + $ pulumi import azure:eventgrid/namespace:Namespace namespace1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/namespaces/namespace1 + ``` + + :param str resource_name: The name of the resource. + :param NamespaceArgs 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(NamespaceArgs, 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, + capacity: Optional[pulumi.Input[int]] = None, + identity: Optional[pulumi.Input[Union['NamespaceIdentityArgs', 'NamespaceIdentityArgsDict']]] = None, + inbound_ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceInboundIpRuleArgs', 'NamespaceInboundIpRuleArgsDict']]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + topic_spaces_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceTopicSpacesConfigurationArgs', 'NamespaceTopicSpacesConfigurationArgsDict']]]]] = 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__ = NamespaceArgs.__new__(NamespaceArgs) + + __props__.__dict__["capacity"] = capacity + __props__.__dict__["identity"] = identity + __props__.__dict__["inbound_ip_rules"] = inbound_ip_rules + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + __props__.__dict__["public_network_access"] = public_network_access + 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 + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["topic_spaces_configurations"] = topic_spaces_configurations + super(Namespace, __self__).__init__( + 'azure:eventgrid/namespace:Namespace', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + capacity: Optional[pulumi.Input[int]] = None, + identity: Optional[pulumi.Input[Union['NamespaceIdentityArgs', 'NamespaceIdentityArgsDict']]] = None, + inbound_ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceInboundIpRuleArgs', 'NamespaceInboundIpRuleArgsDict']]]]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_network_access: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + sku: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + topic_spaces_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NamespaceTopicSpacesConfigurationArgs', 'NamespaceTopicSpacesConfigurationArgsDict']]]]] = None) -> 'Namespace': + """ + Get an existing Namespace 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[int] capacity: Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + :param pulumi.Input[Union['NamespaceIdentityArgs', 'NamespaceIdentityArgsDict']] identity: An `identity` block as defined below. + :param pulumi.Input[Sequence[pulumi.Input[Union['NamespaceInboundIpRuleArgs', 'NamespaceInboundIpRuleArgsDict']]]] inbound_ip_rules: One or more `inbound_ip_rule` blocks as defined below. + :param pulumi.Input[str] location: Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] name: Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + :param pulumi.Input[str] public_network_access: Whether or not public network access is allowed for this server. Defaults to `Enabled`. + :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + :param pulumi.Input[str] sku: Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['NamespaceTopicSpacesConfigurationArgs', 'NamespaceTopicSpacesConfigurationArgsDict']]]] topic_spaces_configurations: A `topic_spaces_configuration` block as defined below. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _NamespaceState.__new__(_NamespaceState) + + __props__.__dict__["capacity"] = capacity + __props__.__dict__["identity"] = identity + __props__.__dict__["inbound_ip_rules"] = inbound_ip_rules + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + __props__.__dict__["public_network_access"] = public_network_access + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["topic_spaces_configurations"] = topic_spaces_configurations + return Namespace(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def capacity(self) -> pulumi.Output[Optional[int]]: + """ + Specifies the Capacity / Throughput Units for an Eventgrid Namespace. Valid values can be between `1` and `40`. + """ + return pulumi.get(self, "capacity") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.NamespaceIdentity']]: + """ + An `identity` block as defined below. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="inboundIpRules") + def inbound_ip_rules(self) -> pulumi.Output[Optional[Sequence['outputs.NamespaceInboundIpRule']]]: + """ + One or more `inbound_ip_rule` blocks as defined below. + """ + return pulumi.get(self, "inbound_ip_rules") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + Specifies the supported Azure location where the resource should exist. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Specifies the name of the Event Grid Namespace resource. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + Whether or not public network access is allowed for this server. Defaults to `Enabled`. + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Output[str]: + """ + The name of the resource group in which the Event Grid Namespace should exist. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "resource_group_name") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional[str]]: + """ + Defines which tier to use. The only possible value is `Standard`. Defaults to `Standard`. + """ + 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 resource. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter(name="topicSpacesConfigurations") + def topic_spaces_configurations(self) -> pulumi.Output[Optional[Sequence['outputs.NamespaceTopicSpacesConfiguration']]]: + """ + A `topic_spaces_configuration` block as defined below. + """ + return pulumi.get(self, "topic_spaces_configurations") + diff --git a/sdk/python/pulumi_azure/eventgrid/outputs.py b/sdk/python/pulumi_azure/eventgrid/outputs.py index 69810bed2d..e81e6d861d 100644 --- a/sdk/python/pulumi_azure/eventgrid/outputs.py +++ b/sdk/python/pulumi_azure/eventgrid/outputs.py @@ -49,6 +49,11 @@ 'EventSubscriptionStorageQueueEndpoint', 'EventSubscriptionSubjectFilter', 'EventSubscriptionWebhookEndpoint', + 'NamespaceIdentity', + 'NamespaceInboundIpRule', + 'NamespaceTopicSpacesConfiguration', + 'NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment', + 'NamespaceTopicSpacesConfigurationStaticRoutingEnrichment', 'SystemTopicEventSubscriptionAdvancedFilter', 'SystemTopicEventSubscriptionAdvancedFilterBoolEqual', 'SystemTopicEventSubscriptionAdvancedFilterIsNotNull', @@ -1797,6 +1802,288 @@ def preferred_batch_size_in_kilobytes(self) -> Optional[int]: return pulumi.get(self, "preferred_batch_size_in_kilobytes") +@pulumi.output_type +class NamespaceIdentity(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "identityIds": + suggest = "identity_ids" + elif key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NamespaceIdentity. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NamespaceIdentity.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NamespaceIdentity.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + identity_ids: Optional[Sequence[str]] = None, + principal_id: Optional[str] = None, + tenant_id: Optional[str] = None): + """ + :param str type: Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + :param Sequence[str] identity_ids: Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + + > **NOTE:** This is required when `type` is set to `UserAssigned` + """ + pulumi.set(__self__, "type", type) + if identity_ids is not None: + pulumi.set(__self__, "identity_ids", identity_ids) + if principal_id is not None: + pulumi.set(__self__, "principal_id", principal_id) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + + @property + @pulumi.getter + def type(self) -> str: + """ + Specifies the type of Managed Service Identity that should be configured on this Event Grid Namespace. Possible values are `SystemAssigned`, `UserAssigned`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="identityIds") + def identity_ids(self) -> Optional[Sequence[str]]: + """ + Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid Namespace. + + > **NOTE:** This is required when `type` is set to `UserAssigned` + """ + return pulumi.get(self, "identity_ids") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> Optional[str]: + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[str]: + return pulumi.get(self, "tenant_id") + + +@pulumi.output_type +class NamespaceInboundIpRule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipMask": + suggest = "ip_mask" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NamespaceInboundIpRule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NamespaceInboundIpRule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NamespaceInboundIpRule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ip_mask: str, + action: Optional[str] = None): + """ + :param str ip_mask: The IP mask (CIDR) to match on. + :param str action: The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + """ + pulumi.set(__self__, "ip_mask", ip_mask) + if action is not None: + pulumi.set(__self__, "action", action) + + @property + @pulumi.getter(name="ipMask") + def ip_mask(self) -> str: + """ + The IP mask (CIDR) to match on. + """ + return pulumi.get(self, "ip_mask") + + @property + @pulumi.getter + def action(self) -> Optional[str]: + """ + The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`. + """ + return pulumi.get(self, "action") + + +@pulumi.output_type +class NamespaceTopicSpacesConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alternativeAuthenticationNameSources": + suggest = "alternative_authentication_name_sources" + elif key == "dynamicRoutingEnrichments": + suggest = "dynamic_routing_enrichments" + elif key == "maximumClientSessionsPerAuthenticationName": + suggest = "maximum_client_sessions_per_authentication_name" + elif key == "maximumSessionExpiryInHours": + suggest = "maximum_session_expiry_in_hours" + elif key == "routeTopicId": + suggest = "route_topic_id" + elif key == "staticRoutingEnrichments": + suggest = "static_routing_enrichments" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NamespaceTopicSpacesConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NamespaceTopicSpacesConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NamespaceTopicSpacesConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alternative_authentication_name_sources: Optional[Sequence[str]] = None, + dynamic_routing_enrichments: Optional[Sequence['outputs.NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment']] = None, + maximum_client_sessions_per_authentication_name: Optional[int] = None, + maximum_session_expiry_in_hours: Optional[int] = None, + route_topic_id: Optional[str] = None, + static_routing_enrichments: Optional[Sequence['outputs.NamespaceTopicSpacesConfigurationStaticRoutingEnrichment']] = None): + """ + :param Sequence[str] alternative_authentication_name_sources: Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + :param Sequence['NamespaceTopicSpacesConfigurationDynamicRoutingEnrichmentArgs'] dynamic_routing_enrichments: One or more `dynamic_routing_enrichment` blocks as defined below. + :param int maximum_client_sessions_per_authentication_name: Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + :param int maximum_session_expiry_in_hours: Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + :param str route_topic_id: Specifies the Event Grid topic resource ID to route messages to. + :param Sequence['NamespaceTopicSpacesConfigurationStaticRoutingEnrichmentArgs'] static_routing_enrichments: One or more `static_routing_enrichment` blocks as defined below. + """ + if alternative_authentication_name_sources is not None: + pulumi.set(__self__, "alternative_authentication_name_sources", alternative_authentication_name_sources) + if dynamic_routing_enrichments is not None: + pulumi.set(__self__, "dynamic_routing_enrichments", dynamic_routing_enrichments) + if maximum_client_sessions_per_authentication_name is not None: + pulumi.set(__self__, "maximum_client_sessions_per_authentication_name", maximum_client_sessions_per_authentication_name) + if maximum_session_expiry_in_hours is not None: + pulumi.set(__self__, "maximum_session_expiry_in_hours", maximum_session_expiry_in_hours) + if route_topic_id is not None: + pulumi.set(__self__, "route_topic_id", route_topic_id) + if static_routing_enrichments is not None: + pulumi.set(__self__, "static_routing_enrichments", static_routing_enrichments) + + @property + @pulumi.getter(name="alternativeAuthenticationNameSources") + def alternative_authentication_name_sources(self) -> Optional[Sequence[str]]: + """ + Specifies a list of alternative sources for the client authentication name from the client certificate. Possible values are `ClientCertificateDns`, `ClientCertificateEmail`, `ClientCertificateIp`, `ClientCertificateSubject` and `ClientCertificateUri`. + """ + return pulumi.get(self, "alternative_authentication_name_sources") + + @property + @pulumi.getter(name="dynamicRoutingEnrichments") + def dynamic_routing_enrichments(self) -> Optional[Sequence['outputs.NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment']]: + """ + One or more `dynamic_routing_enrichment` blocks as defined below. + """ + return pulumi.get(self, "dynamic_routing_enrichments") + + @property + @pulumi.getter(name="maximumClientSessionsPerAuthenticationName") + def maximum_client_sessions_per_authentication_name(self) -> Optional[int]: + """ + Specifies the maximum number of client sessions per authentication name. Valid values can be between `1` and `100`. + """ + return pulumi.get(self, "maximum_client_sessions_per_authentication_name") + + @property + @pulumi.getter(name="maximumSessionExpiryInHours") + def maximum_session_expiry_in_hours(self) -> Optional[int]: + """ + Specifies the maximum session expiry interval allowed for all MQTT clients connecting to the Event Grid namespace. Valid values can be between `1` and `8`. + """ + return pulumi.get(self, "maximum_session_expiry_in_hours") + + @property + @pulumi.getter(name="routeTopicId") + def route_topic_id(self) -> Optional[str]: + """ + Specifies the Event Grid topic resource ID to route messages to. + """ + return pulumi.get(self, "route_topic_id") + + @property + @pulumi.getter(name="staticRoutingEnrichments") + def static_routing_enrichments(self) -> Optional[Sequence['outputs.NamespaceTopicSpacesConfigurationStaticRoutingEnrichment']]: + """ + One or more `static_routing_enrichment` blocks as defined below. + """ + return pulumi.get(self, "static_routing_enrichments") + + +@pulumi.output_type +class NamespaceTopicSpacesConfigurationDynamicRoutingEnrichment(dict): + def __init__(__self__, *, + key: str, + value: str): + """ + :param str key: The enrichment key. + :param str value: The enrichment value. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + """ + The enrichment key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The enrichment value. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class NamespaceTopicSpacesConfigurationStaticRoutingEnrichment(dict): + def __init__(__self__, *, + key: str, + value: str): + """ + :param str key: The enrichment key. + :param str value: The enrichment value. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + """ + The enrichment key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> str: + """ + The enrichment value. + """ + return pulumi.get(self, "value") + + @pulumi.output_type class SystemTopicEventSubscriptionAdvancedFilter(dict): @staticmethod diff --git a/sdk/python/pulumi_azure/eventhub/event_hub_namespace.py b/sdk/python/pulumi_azure/eventhub/event_hub_namespace.py index 6716143b1c..928d30361e 100644 --- a/sdk/python/pulumi_azure/eventhub/event_hub_namespace.py +++ b/sdk/python/pulumi_azure/eventhub/event_hub_namespace.py @@ -47,6 +47,8 @@ def __init__(__self__, *, :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[int] maximum_throughput_units: Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. :param pulumi.Input[str] minimum_tls_version: The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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] name: Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. :param pulumi.Input['EventHubNamespaceNetworkRulesetsArgs'] network_rulesets: A `network_rulesets` block as defined below. :param pulumi.Input[bool] public_network_access_enabled: Is public network access enabled for the EventHub Namespace? Defaults to `true`. @@ -192,6 +194,8 @@ def maximum_throughput_units(self, value: Optional[pulumi.Input[int]]): def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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, "minimum_tls_version") @@ -287,6 +291,8 @@ def __init__(__self__, *, :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[int] maximum_throughput_units: Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. :param pulumi.Input[str] minimum_tls_version: The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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] name: Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. :param pulumi.Input['EventHubNamespaceNetworkRulesetsArgs'] network_rulesets: A `network_rulesets` block as defined below. :param pulumi.Input[bool] public_network_access_enabled: Is public network access enabled for the EventHub Namespace? Defaults to `true`. @@ -496,6 +502,8 @@ def maximum_throughput_units(self, value: Optional[pulumi.Input[int]]): def minimum_tls_version(self) -> Optional[pulumi.Input[str]]: """ The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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, "minimum_tls_version") @@ -637,6 +645,8 @@ def __init__(__self__, :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[int] maximum_throughput_units: Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. :param pulumi.Input[str] minimum_tls_version: The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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] name: Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. :param pulumi.Input[Union['EventHubNamespaceNetworkRulesetsArgs', 'EventHubNamespaceNetworkRulesetsArgsDict']] network_rulesets: A `network_rulesets` block as defined below. :param pulumi.Input[bool] public_network_access_enabled: Is public network access enabled for the EventHub Namespace? Defaults to `true`. @@ -796,6 +806,8 @@ def get(resource_name: str, :param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. :param pulumi.Input[int] maximum_throughput_units: Specifies the maximum number of throughput units when Auto Inflate is Enabled. Valid values range from `1` - `20`. :param pulumi.Input[str] minimum_tls_version: The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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] name: Specifies the name of the EventHub Namespace resource. Changing this forces a new resource to be created. :param pulumi.Input[Union['EventHubNamespaceNetworkRulesetsArgs', 'EventHubNamespaceNetworkRulesetsArgsDict']] network_rulesets: A `network_rulesets` block as defined below. :param pulumi.Input[bool] public_network_access_enabled: Is public network access enabled for the EventHub Namespace? Defaults to `true`. @@ -938,6 +950,8 @@ def maximum_throughput_units(self) -> pulumi.Output[Optional[int]]: def minimum_tls_version(self) -> pulumi.Output[Optional[str]]: """ The minimum supported TLS version for this EventHub Namespace. Valid values are: `1.0`, `1.1` and `1.2`. Defaults to `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, "minimum_tls_version") diff --git a/sdk/python/pulumi_azure/monitoring/_inputs.py b/sdk/python/pulumi_azure/monitoring/_inputs.py index a262427458..eb096e6d5d 100644 --- a/sdk/python/pulumi_azure/monitoring/_inputs.py +++ b/sdk/python/pulumi_azure/monitoring/_inputs.py @@ -257,10 +257,7 @@ class AadDiagnosticSettingEnabledLogArgsDict(TypedDict): """ The log category for the Azure Active Directory Diagnostic. """ - retention_policy: pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgsDict'] - """ - A `retention_policy` block as defined below. - """ + retention_policy: NotRequired[pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgsDict']] elif False: AadDiagnosticSettingEnabledLogArgsDict: TypeAlias = Mapping[str, Any] @@ -268,13 +265,16 @@ class AadDiagnosticSettingEnabledLogArgsDict(TypedDict): class AadDiagnosticSettingEnabledLogArgs: def __init__(__self__, *, category: pulumi.Input[str], - retention_policy: pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']): + retention_policy: Optional[pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']] = None): """ :param pulumi.Input[str] category: The log category for the Azure Active Directory Diagnostic. - :param pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs'] retention_policy: A `retention_policy` block as defined below. """ pulumi.set(__self__, "category", category) - pulumi.set(__self__, "retention_policy", retention_policy) + if retention_policy is not None: + warnings.warn("""Azure does not support retention for new Azure Active Directory Diagnostic Settings""", DeprecationWarning) + pulumi.log.warn("""retention_policy is deprecated: Azure does not support retention for new Azure Active Directory Diagnostic Settings""") + if retention_policy is not None: + pulumi.set(__self__, "retention_policy", retention_policy) @property @pulumi.getter @@ -290,27 +290,19 @@ def category(self, value: pulumi.Input[str]): @property @pulumi.getter(name="retentionPolicy") - def retention_policy(self) -> pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']: - """ - A `retention_policy` block as defined below. - """ + @_utilities.deprecated("""Azure does not support retention for new Azure Active Directory Diagnostic Settings""") + def retention_policy(self) -> Optional[pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']]: return pulumi.get(self, "retention_policy") @retention_policy.setter - def retention_policy(self, value: pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']): + def retention_policy(self, value: Optional[pulumi.Input['AadDiagnosticSettingEnabledLogRetentionPolicyArgs']]): pulumi.set(self, "retention_policy", value) if not MYPY: class AadDiagnosticSettingEnabledLogRetentionPolicyArgsDict(TypedDict): days: NotRequired[pulumi.Input[int]] - """ - The number of days for which this Retention Policy should apply. Defaults to `0`. - """ enabled: NotRequired[pulumi.Input[bool]] - """ - Is this Retention Policy enabled? Defaults to `false`. - """ elif False: AadDiagnosticSettingEnabledLogRetentionPolicyArgsDict: TypeAlias = Mapping[str, Any] @@ -319,10 +311,6 @@ class AadDiagnosticSettingEnabledLogRetentionPolicyArgs: def __init__(__self__, *, days: Optional[pulumi.Input[int]] = None, enabled: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[int] days: The number of days for which this Retention Policy should apply. Defaults to `0`. - :param pulumi.Input[bool] enabled: Is this Retention Policy enabled? Defaults to `false`. - """ if days is not None: pulumi.set(__self__, "days", days) if enabled is not None: @@ -331,9 +319,6 @@ def __init__(__self__, *, @property @pulumi.getter def days(self) -> Optional[pulumi.Input[int]]: - """ - The number of days for which this Retention Policy should apply. Defaults to `0`. - """ return pulumi.get(self, "days") @days.setter @@ -343,9 +328,6 @@ def days(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter def enabled(self) -> Optional[pulumi.Input[bool]]: - """ - Is this Retention Policy enabled? Defaults to `false`. - """ return pulumi.get(self, "enabled") @enabled.setter diff --git a/sdk/python/pulumi_azure/monitoring/aad_diagnostic_setting.py b/sdk/python/pulumi_azure/monitoring/aad_diagnostic_setting.py index 1a8e77703f..6c3187d3f9 100644 --- a/sdk/python/pulumi_azure/monitoring/aad_diagnostic_setting.py +++ b/sdk/python/pulumi_azure/monitoring/aad_diagnostic_setting.py @@ -281,31 +281,15 @@ def __init__(__self__, enabled_logs=[ { "category": "SignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "AuditLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "NonInteractiveUserSignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "ServicePrincipalSignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, ]) ``` @@ -364,31 +348,15 @@ def __init__(__self__, enabled_logs=[ { "category": "SignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "AuditLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "NonInteractiveUserSignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, { "category": "ServicePrincipalSignInLogs", - "retention_policy": { - "enabled": True, - "days": 1, - }, }, ]) ``` diff --git a/sdk/python/pulumi_azure/monitoring/outputs.py b/sdk/python/pulumi_azure/monitoring/outputs.py index def66c2345..36ee975b3e 100644 --- a/sdk/python/pulumi_azure/monitoring/outputs.py +++ b/sdk/python/pulumi_azure/monitoring/outputs.py @@ -200,13 +200,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, category: str, - retention_policy: 'outputs.AadDiagnosticSettingEnabledLogRetentionPolicy'): + retention_policy: Optional['outputs.AadDiagnosticSettingEnabledLogRetentionPolicy'] = None): """ :param str category: The log category for the Azure Active Directory Diagnostic. - :param 'AadDiagnosticSettingEnabledLogRetentionPolicyArgs' retention_policy: A `retention_policy` block as defined below. """ pulumi.set(__self__, "category", category) - pulumi.set(__self__, "retention_policy", retention_policy) + if retention_policy is not None: + pulumi.set(__self__, "retention_policy", retention_policy) @property @pulumi.getter @@ -218,10 +218,8 @@ def category(self) -> str: @property @pulumi.getter(name="retentionPolicy") - def retention_policy(self) -> 'outputs.AadDiagnosticSettingEnabledLogRetentionPolicy': - """ - A `retention_policy` block as defined below. - """ + @_utilities.deprecated("""Azure does not support retention for new Azure Active Directory Diagnostic Settings""") + def retention_policy(self) -> Optional['outputs.AadDiagnosticSettingEnabledLogRetentionPolicy']: return pulumi.get(self, "retention_policy") @@ -230,10 +228,6 @@ class AadDiagnosticSettingEnabledLogRetentionPolicy(dict): def __init__(__self__, *, days: Optional[int] = None, enabled: Optional[bool] = None): - """ - :param int days: The number of days for which this Retention Policy should apply. Defaults to `0`. - :param bool enabled: Is this Retention Policy enabled? Defaults to `false`. - """ if days is not None: pulumi.set(__self__, "days", days) if enabled is not None: @@ -242,17 +236,11 @@ def __init__(__self__, *, @property @pulumi.getter def days(self) -> Optional[int]: - """ - The number of days for which this Retention Policy should apply. Defaults to `0`. - """ return pulumi.get(self, "days") @property @pulumi.getter def enabled(self) -> Optional[bool]: - """ - Is this Retention Policy enabled? Defaults to `false`. - """ return pulumi.get(self, "enabled") diff --git a/sdk/python/pulumi_azure/network/_inputs.py b/sdk/python/pulumi_azure/network/_inputs.py index 5f3880a6a6..fd0b69b59b 100644 --- a/sdk/python/pulumi_azure/network/_inputs.py +++ b/sdk/python/pulumi_azure/network/_inputs.py @@ -4668,7 +4668,7 @@ class ApplicationGatewayWafConfigurationArgsDict(TypedDict): """ rule_set_version: pulumi.Input[str] """ - The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ disabled_rule_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationGatewayWafConfigurationDisabledRuleGroupArgsDict']]]] """ @@ -4712,7 +4712,7 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] enabled: Is the Web Application Firewall enabled? :param pulumi.Input[str] firewall_mode: The Web Application Firewall Mode. Possible values are `Detection` and `Prevention`. - :param pulumi.Input[str] rule_set_version: The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + :param pulumi.Input[str] rule_set_version: The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. :param pulumi.Input[Sequence[pulumi.Input['ApplicationGatewayWafConfigurationDisabledRuleGroupArgs']]] disabled_rule_groups: One or more `disabled_rule_group` blocks as defined below. :param pulumi.Input[Sequence[pulumi.Input['ApplicationGatewayWafConfigurationExclusionArgs']]] exclusions: One or more `exclusion` blocks as defined below. :param pulumi.Input[int] file_upload_limit_mb: The File Upload Limit in MB. Accepted values are in the range `1`MB to `750`MB for the `WAF_v2` SKU, and `1`MB to `500`MB for all other SKUs. Defaults to `100`MB. @@ -4764,7 +4764,7 @@ def firewall_mode(self, value: pulumi.Input[str]): @pulumi.getter(name="ruleSetVersion") def rule_set_version(self) -> pulumi.Input[str]: """ - The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ return pulumi.get(self, "rule_set_version") @@ -11619,7 +11619,7 @@ def service_delegation(self, value: pulumi.Input['SubnetDelegationServiceDelegat class SubnetDelegationServiceDelegationArgsDict(TypedDict): name: pulumi.Input[str] """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ @@ -11636,7 +11636,7 @@ def __init__(__self__, *, name: pulumi.Input[str], actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[str] name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + :param pulumi.Input[str] name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. :param pulumi.Input[Sequence[pulumi.Input[str]]] actions: A list of Actions which should be delegated. This list is specific to the service to delegate to. Possible values are `Microsoft.Network/networkinterfaces/*`, `Microsoft.Network/publicIPAddresses/join/action`, `Microsoft.Network/publicIPAddresses/read`, `Microsoft.Network/virtualNetworks/read`, `Microsoft.Network/virtualNetworks/subnets/action`, `Microsoft.Network/virtualNetworks/subnets/join/action`, `Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action`, and `Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action`. > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. @@ -11649,7 +11649,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ return pulumi.get(self, "name") @@ -14736,7 +14736,7 @@ def service_delegation(self, value: pulumi.Input['VirtualNetworkSubnetDelegation class VirtualNetworkSubnetDelegationServiceDelegationArgsDict(TypedDict): name: pulumi.Input[str] """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ @@ -14753,7 +14753,7 @@ def __init__(__self__, *, name: pulumi.Input[str], actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ - :param pulumi.Input[str] name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + :param pulumi.Input[str] name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. :param pulumi.Input[Sequence[pulumi.Input[str]]] actions: A list of Actions which should be delegated. This list is specific to the service to delegate to. Possible values are `Microsoft.Network/networkinterfaces/*`, `Microsoft.Network/publicIPAddresses/join/action`, `Microsoft.Network/publicIPAddresses/read`, `Microsoft.Network/virtualNetworks/read`, `Microsoft.Network/virtualNetworks/subnets/action`, `Microsoft.Network/virtualNetworks/subnets/join/action`, `Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action`, and `Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action`. > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. @@ -14766,7 +14766,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> pulumi.Input[str]: """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azure/network/network_manager.py b/sdk/python/pulumi_azure/network/network_manager.py index 9518c9ac4c..dc10e71c74 100644 --- a/sdk/python/pulumi_azure/network/network_manager.py +++ b/sdk/python/pulumi_azure/network/network_manager.py @@ -32,7 +32,7 @@ def __init__(__self__, *, The set of arguments for constructing a NetworkManager resource. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group where the Network Managers should exist. Changing this forces a new Network Managers to be created. :param pulumi.Input['NetworkManagerScopeArgs'] scope: A `scope` block as defined below. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. :param pulumi.Input[str] description: A description of the network manager. :param pulumi.Input[str] location: Specifies the Azure Region where the Network Managers should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name which should be used for this Network Managers. Changing this forces a new Network Managers to be created. @@ -78,7 +78,7 @@ def scope(self, value: pulumi.Input['NetworkManagerScopeArgs']): @pulumi.getter(name="scopeAccesses") def scope_accesses(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. """ return pulumi.get(self, "scope_accesses") @@ -154,7 +154,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Specifies the name which should be used for this Network Managers. Changing this forces a new Network Managers to be created. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group where the Network Managers should exist. Changing this forces a new Network Managers to be created. :param pulumi.Input['NetworkManagerScopeArgs'] scope: A `scope` block as defined below. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Managers. """ if cross_tenant_scopes is not None: @@ -250,7 +250,7 @@ def scope(self, value: Optional[pulumi.Input['NetworkManagerScopeArgs']]): @pulumi.getter(name="scopeAccesses") def scope_accesses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. """ return pulumi.get(self, "scope_accesses") @@ -329,7 +329,7 @@ def __init__(__self__, :param pulumi.Input[str] name: Specifies the name which should be used for this Network Managers. Changing this forces a new Network Managers to be created. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group where the Network Managers should exist. Changing this forces a new Network Managers to be created. :param pulumi.Input[Union['NetworkManagerScopeArgs', 'NetworkManagerScopeArgsDict']] scope: A `scope` block as defined below. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Managers. """ ... @@ -452,7 +452,7 @@ def get(resource_name: str, :param pulumi.Input[str] name: Specifies the name which should be used for this Network Managers. Changing this forces a new Network Managers to be created. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group where the Network Managers should exist. Changing this forces a new Network Managers to be created. :param pulumi.Input[Union['NetworkManagerScopeArgs', 'NetworkManagerScopeArgsDict']] scope: A `scope` block as defined below. - :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + :param pulumi.Input[Sequence[pulumi.Input[str]]] scope_accesses: A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Managers. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -521,7 +521,7 @@ def scope(self) -> pulumi.Output['outputs.NetworkManagerScope']: @pulumi.getter(name="scopeAccesses") def scope_accesses(self) -> pulumi.Output[Sequence[str]]: """ - A list of configuration deployment type. Possible values are `Connectivity` and `SecurityAdmin`, corresponds to if Connectivity Configuration and Security Admin Configuration is allowed for the Network Manager. + A list of configuration deployment type. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, corresponds to if Connectivity Configuration, Security Admin Configuration or Routing Configuration is allowed for the Network Manager. """ return pulumi.get(self, "scope_accesses") diff --git a/sdk/python/pulumi_azure/network/network_watcher_flow_log.py b/sdk/python/pulumi_azure/network/network_watcher_flow_log.py index 6bd421b6ef..a368ac2416 100644 --- a/sdk/python/pulumi_azure/network/network_watcher_flow_log.py +++ b/sdk/python/pulumi_azure/network/network_watcher_flow_log.py @@ -22,20 +22,20 @@ class NetworkWatcherFlowLogArgs: def __init__(__self__, *, enabled: pulumi.Input[bool], - network_security_group_id: pulumi.Input[str], network_watcher_name: pulumi.Input[str], resource_group_name: pulumi.Input[str], retention_policy: pulumi.Input['NetworkWatcherFlowLogRetentionPolicyArgs'], storage_account_id: pulumi.Input[str], location: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, + network_security_group_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, traffic_analytics: Optional[pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs']] = None, version: Optional[pulumi.Input[int]] = None): """ The set of arguments for constructing a NetworkWatcherFlowLog resource. :param pulumi.Input[bool] enabled: Should Network Flow Logging be Enabled? - :param pulumi.Input[str] network_security_group_id: The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[str] network_watcher_name: The name of the Network Watcher. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. :param pulumi.Input['NetworkWatcherFlowLogRetentionPolicyArgs'] retention_policy: A `retention_policy` block as documented below. @@ -43,11 +43,11 @@ def __init__(__self__, *, :param pulumi.Input[str] location: The location where the Network Watcher Flow Log resides. Changing this forces a new resource to be created. Defaults to the `location` of the Network Watcher. :param pulumi.Input[str] name: The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Watcher Flow Log. + :param pulumi.Input[str] target_resource_id: The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs'] traffic_analytics: A `traffic_analytics` block as documented below. :param pulumi.Input[int] version: The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. """ pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "network_security_group_id", network_security_group_id) pulumi.set(__self__, "network_watcher_name", network_watcher_name) pulumi.set(__self__, "resource_group_name", resource_group_name) pulumi.set(__self__, "retention_policy", retention_policy) @@ -56,8 +56,15 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if name is not None: pulumi.set(__self__, "name", name) + if network_security_group_id is not None: + warnings.warn("""The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""", DeprecationWarning) + pulumi.log.warn("""network_security_group_id is deprecated: The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""") + if network_security_group_id is not None: + pulumi.set(__self__, "network_security_group_id", network_security_group_id) if tags is not None: pulumi.set(__self__, "tags", tags) + if target_resource_id is not None: + pulumi.set(__self__, "target_resource_id", target_resource_id) if traffic_analytics is not None: pulumi.set(__self__, "traffic_analytics", traffic_analytics) if version is not None: @@ -75,18 +82,6 @@ def enabled(self) -> pulumi.Input[bool]: def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) - @property - @pulumi.getter(name="networkSecurityGroupId") - def network_security_group_id(self) -> pulumi.Input[str]: - """ - The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - """ - return pulumi.get(self, "network_security_group_id") - - @network_security_group_id.setter - def network_security_group_id(self, value: pulumi.Input[str]): - pulumi.set(self, "network_security_group_id", value) - @property @pulumi.getter(name="networkWatcherName") def network_watcher_name(self) -> pulumi.Input[str]: @@ -159,6 +154,16 @@ def name(self) -> Optional[pulumi.Input[str]]: def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) + @property + @pulumi.getter(name="networkSecurityGroupId") + @_utilities.deprecated("""The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""") + def network_security_group_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "network_security_group_id") + + @network_security_group_id.setter + def network_security_group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_security_group_id", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -171,6 +176,18 @@ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) + @property + @pulumi.getter(name="targetResourceId") + def target_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "target_resource_id") + + @target_resource_id.setter + def target_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_resource_id", value) + @property @pulumi.getter(name="trafficAnalytics") def traffic_analytics(self) -> Optional[pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs']]: @@ -208,6 +225,7 @@ def __init__(__self__, *, retention_policy: Optional[pulumi.Input['NetworkWatcherFlowLogRetentionPolicyArgs']] = None, storage_account_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, traffic_analytics: Optional[pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs']] = None, version: Optional[pulumi.Input[int]] = None): """ @@ -215,12 +233,12 @@ def __init__(__self__, *, :param pulumi.Input[bool] enabled: Should Network Flow Logging be Enabled? :param pulumi.Input[str] location: The location where the Network Watcher Flow Log resides. Changing this forces a new resource to be created. Defaults to the `location` of the Network Watcher. :param pulumi.Input[str] name: The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. - :param pulumi.Input[str] network_security_group_id: The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[str] network_watcher_name: The name of the Network Watcher. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. :param pulumi.Input['NetworkWatcherFlowLogRetentionPolicyArgs'] retention_policy: A `retention_policy` block as documented below. :param pulumi.Input[str] storage_account_id: The ID of the Storage Account where flow logs are stored. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Watcher Flow Log. + :param pulumi.Input[str] target_resource_id: The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs'] traffic_analytics: A `traffic_analytics` block as documented below. :param pulumi.Input[int] version: The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. """ @@ -230,6 +248,9 @@ def __init__(__self__, *, pulumi.set(__self__, "location", location) if name is not None: pulumi.set(__self__, "name", name) + if network_security_group_id is not None: + warnings.warn("""The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""", DeprecationWarning) + pulumi.log.warn("""network_security_group_id is deprecated: The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""") if network_security_group_id is not None: pulumi.set(__self__, "network_security_group_id", network_security_group_id) if network_watcher_name is not None: @@ -242,6 +263,8 @@ def __init__(__self__, *, pulumi.set(__self__, "storage_account_id", storage_account_id) if tags is not None: pulumi.set(__self__, "tags", tags) + if target_resource_id is not None: + pulumi.set(__self__, "target_resource_id", target_resource_id) if traffic_analytics is not None: pulumi.set(__self__, "traffic_analytics", traffic_analytics) if version is not None: @@ -285,10 +308,8 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="networkSecurityGroupId") + @_utilities.deprecated("""The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""") def network_security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - """ return pulumi.get(self, "network_security_group_id") @network_security_group_id.setter @@ -355,6 +376,18 @@ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) + @property + @pulumi.getter(name="targetResourceId") + def target_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "target_resource_id") + + @target_resource_id.setter + def target_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_resource_id", value) + @property @pulumi.getter(name="trafficAnalytics") def traffic_analytics(self) -> Optional[pulumi.Input['NetworkWatcherFlowLogTrafficAnalyticsArgs']]: @@ -394,6 +427,7 @@ def __init__(__self__, retention_policy: Optional[pulumi.Input[Union['NetworkWatcherFlowLogRetentionPolicyArgs', 'NetworkWatcherFlowLogRetentionPolicyArgsDict']]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, traffic_analytics: Optional[pulumi.Input[Union['NetworkWatcherFlowLogTrafficAnalyticsArgs', 'NetworkWatcherFlowLogTrafficAnalyticsArgsDict']]] = None, version: Optional[pulumi.Input[int]] = None, __props__=None): @@ -415,12 +449,12 @@ def __init__(__self__, :param pulumi.Input[bool] enabled: Should Network Flow Logging be Enabled? :param pulumi.Input[str] location: The location where the Network Watcher Flow Log resides. Changing this forces a new resource to be created. Defaults to the `location` of the Network Watcher. :param pulumi.Input[str] name: The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. - :param pulumi.Input[str] network_security_group_id: The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[str] network_watcher_name: The name of the Network Watcher. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. :param pulumi.Input[Union['NetworkWatcherFlowLogRetentionPolicyArgs', 'NetworkWatcherFlowLogRetentionPolicyArgsDict']] retention_policy: A `retention_policy` block as documented below. :param pulumi.Input[str] storage_account_id: The ID of the Storage Account where flow logs are stored. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Watcher Flow Log. + :param pulumi.Input[str] target_resource_id: The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[Union['NetworkWatcherFlowLogTrafficAnalyticsArgs', 'NetworkWatcherFlowLogTrafficAnalyticsArgsDict']] traffic_analytics: A `traffic_analytics` block as documented below. :param pulumi.Input[int] version: The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. """ @@ -467,6 +501,7 @@ def _internal_init(__self__, retention_policy: Optional[pulumi.Input[Union['NetworkWatcherFlowLogRetentionPolicyArgs', 'NetworkWatcherFlowLogRetentionPolicyArgsDict']]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, traffic_analytics: Optional[pulumi.Input[Union['NetworkWatcherFlowLogTrafficAnalyticsArgs', 'NetworkWatcherFlowLogTrafficAnalyticsArgsDict']]] = None, version: Optional[pulumi.Input[int]] = None, __props__=None): @@ -483,8 +518,6 @@ def _internal_init(__self__, __props__.__dict__["enabled"] = enabled __props__.__dict__["location"] = location __props__.__dict__["name"] = name - if network_security_group_id is None and not opts.urn: - raise TypeError("Missing required property 'network_security_group_id'") __props__.__dict__["network_security_group_id"] = network_security_group_id if network_watcher_name is None and not opts.urn: raise TypeError("Missing required property 'network_watcher_name'") @@ -499,6 +532,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'storage_account_id'") __props__.__dict__["storage_account_id"] = storage_account_id __props__.__dict__["tags"] = tags + __props__.__dict__["target_resource_id"] = target_resource_id __props__.__dict__["traffic_analytics"] = traffic_analytics __props__.__dict__["version"] = version super(NetworkWatcherFlowLog, __self__).__init__( @@ -520,6 +554,7 @@ def get(resource_name: str, retention_policy: Optional[pulumi.Input[Union['NetworkWatcherFlowLogRetentionPolicyArgs', 'NetworkWatcherFlowLogRetentionPolicyArgsDict']]] = None, storage_account_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, traffic_analytics: Optional[pulumi.Input[Union['NetworkWatcherFlowLogTrafficAnalyticsArgs', 'NetworkWatcherFlowLogTrafficAnalyticsArgsDict']]] = None, version: Optional[pulumi.Input[int]] = None) -> 'NetworkWatcherFlowLog': """ @@ -532,12 +567,12 @@ def get(resource_name: str, :param pulumi.Input[bool] enabled: Should Network Flow Logging be Enabled? :param pulumi.Input[str] location: The location where the Network Watcher Flow Log resides. Changing this forces a new resource to be created. Defaults to the `location` of the Network Watcher. :param pulumi.Input[str] name: The name of the Network Watcher Flow Log. Changing this forces a new resource to be created. - :param pulumi.Input[str] network_security_group_id: The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[str] network_watcher_name: The name of the Network Watcher. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created. :param pulumi.Input[Union['NetworkWatcherFlowLogRetentionPolicyArgs', 'NetworkWatcherFlowLogRetentionPolicyArgsDict']] retention_policy: A `retention_policy` block as documented below. :param pulumi.Input[str] storage_account_id: The ID of the Storage Account where flow logs are stored. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags which should be assigned to the Network Watcher Flow Log. + :param pulumi.Input[str] target_resource_id: The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. :param pulumi.Input[Union['NetworkWatcherFlowLogTrafficAnalyticsArgs', 'NetworkWatcherFlowLogTrafficAnalyticsArgsDict']] traffic_analytics: A `traffic_analytics` block as documented below. :param pulumi.Input[int] version: The version (revision) of the flow log. Possible values are `1` and `2`. Defaults to `1`. """ @@ -554,6 +589,7 @@ def get(resource_name: str, __props__.__dict__["retention_policy"] = retention_policy __props__.__dict__["storage_account_id"] = storage_account_id __props__.__dict__["tags"] = tags + __props__.__dict__["target_resource_id"] = target_resource_id __props__.__dict__["traffic_analytics"] = traffic_analytics __props__.__dict__["version"] = version return NetworkWatcherFlowLog(resource_name, opts=opts, __props__=__props__) @@ -584,10 +620,8 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="networkSecurityGroupId") + @_utilities.deprecated("""The property `network_security_group_id` has been superseded by `target_resource_id` and will be removed in version 5.0 of the AzureRM Provider.""") def network_security_group_id(self) -> pulumi.Output[str]: - """ - The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - """ return pulumi.get(self, "network_security_group_id") @property @@ -630,6 +664,14 @@ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ return pulumi.get(self, "tags") + @property + @pulumi.getter(name="targetResourceId") + def target_resource_id(self) -> pulumi.Output[str]: + """ + The ID of the Resource for which to enable flow logs for. Changing this forces a new resource to be created. + """ + return pulumi.get(self, "target_resource_id") + @property @pulumi.getter(name="trafficAnalytics") def traffic_analytics(self) -> pulumi.Output[Optional['outputs.NetworkWatcherFlowLogTrafficAnalytics']]: diff --git a/sdk/python/pulumi_azure/network/outputs.py b/sdk/python/pulumi_azure/network/outputs.py index 204174cdb7..f1fbeb6525 100644 --- a/sdk/python/pulumi_azure/network/outputs.py +++ b/sdk/python/pulumi_azure/network/outputs.py @@ -3550,7 +3550,7 @@ def __init__(__self__, *, """ :param bool enabled: Is the Web Application Firewall enabled? :param str firewall_mode: The Web Application Firewall Mode. Possible values are `Detection` and `Prevention`. - :param str rule_set_version: The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + :param str rule_set_version: The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. :param Sequence['ApplicationGatewayWafConfigurationDisabledRuleGroupArgs'] disabled_rule_groups: One or more `disabled_rule_group` blocks as defined below. :param Sequence['ApplicationGatewayWafConfigurationExclusionArgs'] exclusions: One or more `exclusion` blocks as defined below. :param int file_upload_limit_mb: The File Upload Limit in MB. Accepted values are in the range `1`MB to `750`MB for the `WAF_v2` SKU, and `1`MB to `500`MB for all other SKUs. Defaults to `100`MB. @@ -3594,7 +3594,7 @@ def firewall_mode(self) -> str: @pulumi.getter(name="ruleSetVersion") def rule_set_version(self) -> str: """ - The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The Version of the Rule Set used for this Web Application Firewall. Possible values are `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ return pulumi.get(self, "rule_set_version") @@ -8911,7 +8911,7 @@ def __init__(__self__, *, name: str, actions: Optional[Sequence[str]] = None): """ - :param str name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + :param str name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. :param Sequence[str] actions: A list of Actions which should be delegated. This list is specific to the service to delegate to. Possible values are `Microsoft.Network/networkinterfaces/*`, `Microsoft.Network/publicIPAddresses/join/action`, `Microsoft.Network/publicIPAddresses/read`, `Microsoft.Network/virtualNetworks/read`, `Microsoft.Network/virtualNetworks/subnets/action`, `Microsoft.Network/virtualNetworks/subnets/join/action`, `Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action`, and `Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action`. > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. @@ -8924,7 +8924,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ return pulumi.get(self, "name") @@ -11257,7 +11257,7 @@ def __init__(__self__, *, name: str, actions: Optional[Sequence[str]] = None): """ - :param str name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + :param str name: The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. :param Sequence[str] actions: A list of Actions which should be delegated. This list is specific to the service to delegate to. Possible values are `Microsoft.Network/networkinterfaces/*`, `Microsoft.Network/publicIPAddresses/join/action`, `Microsoft.Network/publicIPAddresses/read`, `Microsoft.Network/virtualNetworks/read`, `Microsoft.Network/virtualNetworks/subnets/action`, `Microsoft.Network/virtualNetworks/subnets/join/action`, `Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action`, and `Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action`. > **NOTE:** Azure may add default actions depending on the service delegation name and they can't be changed. @@ -11270,7 +11270,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. + The name of service to delegate to. Possible values are `GitHub.Network/networkSettings`, `Informatica.DataManagement/organizations`, `Microsoft.ApiManagement/service`, `Microsoft.Apollo/npu`, `Microsoft.App/environments`, `Microsoft.App/testClients`, `Microsoft.AVS/PrivateClouds`, `Microsoft.AzureCosmosDB/clusters`, `Microsoft.BareMetal/AzureHostedService`, `Microsoft.BareMetal/AzureHPC`, `Microsoft.BareMetal/AzurePaymentHSM`, `Microsoft.BareMetal/AzureVMware`, `Microsoft.BareMetal/CrayServers`, `Microsoft.BareMetal/MonitoringServers`, `Microsoft.Batch/batchAccounts`, `Microsoft.CloudTest/hostedpools`, `Microsoft.CloudTest/images`, `Microsoft.CloudTest/pools`, `Microsoft.Codespaces/plans`, `Microsoft.ContainerInstance/containerGroups`, `Microsoft.ContainerService/managedClusters`, `Microsoft.ContainerService/TestClients`, `Microsoft.Databricks/workspaces`, `Microsoft.DBforMySQL/flexibleServers`, `Microsoft.DBforMySQL/servers`, `Microsoft.DBforMySQL/serversv2`, `Microsoft.DBforPostgreSQL/flexibleServers`, `Microsoft.DBforPostgreSQL/serversv2`, `Microsoft.DBforPostgreSQL/singleServers`, `Microsoft.DelegatedNetwork/controller`, `Microsoft.DevCenter/networkConnection`, `Microsoft.DevOpsInfrastructure/pools`, `Microsoft.DocumentDB/cassandraClusters`, `Microsoft.Fidalgo/networkSettings`, `Microsoft.HardwareSecurityModules/dedicatedHSMs`, `Microsoft.Kusto/clusters`, `Microsoft.LabServices/labplans`, `Microsoft.Logic/integrationServiceEnvironments`, `Microsoft.MachineLearningServices/workspaces`, `Microsoft.Netapp/volumes`, `Microsoft.Network/dnsResolvers`, `Microsoft.Network/managedResolvers`, `Microsoft.Network/fpgaNetworkInterfaces`, `Microsoft.Network/networkWatchers.`, `Microsoft.Network/virtualNetworkGateways`, `Microsoft.Orbital/orbitalGateways`, `Microsoft.PowerPlatform/enterprisePolicies`, `Microsoft.PowerPlatform/vnetaccesslinks`, `Microsoft.ServiceFabricMesh/networks`, `Microsoft.ServiceNetworking/trafficControllers`, `Microsoft.Singularity/accounts/networks`, `Microsoft.Singularity/accounts/npu`, `Microsoft.Sql/managedInstances`, `Microsoft.Sql/managedInstancesOnebox`, `Microsoft.Sql/managedInstancesStage`, `Microsoft.Sql/managedInstancesTest`, `Microsoft.Sql/servers`, `Microsoft.StoragePool/diskPools`, `Microsoft.StreamAnalytics/streamingJobs`, `Microsoft.Synapse/workspaces`, `Microsoft.Web/hostingEnvironments`, `Microsoft.Web/serverFarms`, `NGINX.NGINXPLUS/nginxDeployments`, `PaloAltoNetworks.Cloudngfw/firewalls`, `Qumulo.Storage/fileSystems`, and `Oracle.Database/networkAttachments`. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_azure/network/virtual_network_gateway.py b/sdk/python/pulumi_azure/network/virtual_network_gateway.py index 8f263a1a25..d750b8c79c 100644 --- a/sdk/python/pulumi_azure/network/virtual_network_gateway.py +++ b/sdk/python/pulumi_azure/network/virtual_network_gateway.py @@ -46,7 +46,7 @@ def __init__(__self__, *, vpn_type: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a VirtualNetworkGateway resource. - :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. + :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -126,7 +126,7 @@ def __init__(__self__, *, @pulumi.getter(name="ipConfigurations") def ip_configurations(self) -> pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]]: """ - One or more (up to 3) `ip_configuration` blocks documented below. + One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -447,7 +447,7 @@ def __init__(__self__, *, :param pulumi.Input[str] generation: The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created. > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. - :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. + :param pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -630,7 +630,7 @@ def generation(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipConfigurations") def ip_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkGatewayIpConfigurationArgs']]]]: """ - One or more (up to 3) `ip_configuration` blocks documented below. + One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -929,7 +929,7 @@ def __init__(__self__, :param pulumi.Input[str] generation: The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created. > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. - :param pulumi.Input[Sequence[pulumi.Input[Union['VirtualNetworkGatewayIpConfigurationArgs', 'VirtualNetworkGatewayIpConfigurationArgsDict']]]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. + :param pulumi.Input[Sequence[pulumi.Input[Union['VirtualNetworkGatewayIpConfigurationArgs', 'VirtualNetworkGatewayIpConfigurationArgsDict']]]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -1171,7 +1171,7 @@ def get(resource_name: str, :param pulumi.Input[str] generation: The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created. > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`. - :param pulumi.Input[Sequence[pulumi.Input[Union['VirtualNetworkGatewayIpConfigurationArgs', 'VirtualNetworkGatewayIpConfigurationArgsDict']]]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. + :param pulumi.Input[Sequence[pulumi.Input[Union['VirtualNetworkGatewayIpConfigurationArgs', 'VirtualNetworkGatewayIpConfigurationArgsDict']]]] ip_configurations: One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. @@ -1300,7 +1300,7 @@ def generation(self) -> pulumi.Output[str]: @pulumi.getter(name="ipConfigurations") def ip_configurations(self) -> pulumi.Output[Sequence['outputs.VirtualNetworkGatewayIpConfiguration']]: """ - One or more (up to 3) `ip_configuration` blocks documented below. + One or more (up to 3) `ip_configuration` blocks documented below. Changing this forces a new resource to be created. An active-standby gateway requires exactly one `ip_configuration` block, an active-active gateway requires exactly two `ip_configuration` blocks whereas an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks. diff --git a/sdk/python/pulumi_azure/role/assignment.py b/sdk/python/pulumi_azure/role/assignment.py index faf68ccfa8..d17fc1db6c 100644 --- a/sdk/python/pulumi_azure/role/assignment.py +++ b/sdk/python/pulumi_azure/role/assignment.py @@ -888,7 +888,7 @@ def condition(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="conditionVersion") - def condition_version(self) -> pulumi.Output[Optional[str]]: + def condition_version(self) -> pulumi.Output[str]: """ The version of the condition. Possible values are `1.0` or `2.0`. Changing this forces a new resource to be created. """ diff --git a/sdk/python/pulumi_azure/securitycenter/auto_provisioning.py b/sdk/python/pulumi_azure/securitycenter/auto_provisioning.py index 101ab79323..7f20671d04 100644 --- a/sdk/python/pulumi_azure/securitycenter/auto_provisioning.py +++ b/sdk/python/pulumi_azure/securitycenter/auto_provisioning.py @@ -73,6 +73,8 @@ def __init__(__self__, """ Enables or disables the Security Center Auto Provisioning feature for the subscription + > **Note:** The `securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. + > **NOTE:** There is no resource name required, it will always be "default" ## Example Usage @@ -105,6 +107,8 @@ def __init__(__self__, """ Enables or disables the Security Center Auto Provisioning feature for the subscription + > **Note:** The `securitycenter.AutoProvisioning` resource has been deprecated because [the auto provisioning capability will be deprecated by end of Novemember of 2024](https://learn.microsoft.com/en-us/azure/defender-for-cloud/prepare-deprecation-log-analytics-mma-agent#log-analytics-agent-autoprovisioning-experience---deprecation-plan) and will be removed in v5.0 of the AzureRM Provider. + > **NOTE:** There is no resource name required, it will always be "default" ## Example Usage diff --git a/sdk/python/pulumi_azure/waf/_inputs.py b/sdk/python/pulumi_azure/waf/_inputs.py index e6df174e80..aab6c4adf9 100644 --- a/sdk/python/pulumi_azure/waf/_inputs.py +++ b/sdk/python/pulumi_azure/waf/_inputs.py @@ -546,7 +546,7 @@ class PolicyManagedRulesExclusionExcludedRuleSetArgsDict(TypedDict): """ version: NotRequired[pulumi.Input[str]] """ - The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. """ elif False: PolicyManagedRulesExclusionExcludedRuleSetArgsDict: TypeAlias = Mapping[str, Any] @@ -560,7 +560,7 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['PolicyManagedRulesExclusionExcludedRuleSetRuleGroupArgs']]] rule_groups: One or more `rule_group` block defined below. :param pulumi.Input[str] type: The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`. - :param pulumi.Input[str] version: The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + :param pulumi.Input[str] version: The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. """ if rule_groups is not None: pulumi.set(__self__, "rule_groups", rule_groups) @@ -597,7 +597,7 @@ def type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def version(self) -> Optional[pulumi.Input[str]]: """ - The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. """ return pulumi.get(self, "version") @@ -664,7 +664,7 @@ def excluded_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] class PolicyManagedRulesManagedRuleSetArgsDict(TypedDict): version: pulumi.Input[str] """ - The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ rule_group_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgsDict']]]] """ @@ -684,7 +684,7 @@ def __init__(__self__, *, rule_group_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs']]]] = None, type: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] version: The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + :param pulumi.Input[str] version: The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. :param pulumi.Input[Sequence[pulumi.Input['PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs']]] rule_group_overrides: One or more `rule_group_override` block defined below. :param pulumi.Input[str] type: The rule set type. Possible values: `Microsoft_BotManagerRuleSet`, `Microsoft_DefaultRuleSet` and `OWASP`. Defaults to `OWASP`. """ @@ -698,7 +698,7 @@ def __init__(__self__, *, @pulumi.getter def version(self) -> pulumi.Input[str]: """ - The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ return pulumi.get(self, "version") diff --git a/sdk/python/pulumi_azure/waf/outputs.py b/sdk/python/pulumi_azure/waf/outputs.py index 6ceb689bee..1d14c4ec70 100644 --- a/sdk/python/pulumi_azure/waf/outputs.py +++ b/sdk/python/pulumi_azure/waf/outputs.py @@ -446,7 +446,7 @@ def __init__(__self__, *, """ :param Sequence['PolicyManagedRulesExclusionExcludedRuleSetRuleGroupArgs'] rule_groups: One or more `rule_group` block defined below. :param str type: The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`. - :param str version: The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + :param str version: The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. """ if rule_groups is not None: pulumi.set(__self__, "rule_groups", rule_groups) @@ -475,7 +475,7 @@ def type(self) -> Optional[str]: @pulumi.getter def version(self) -> Optional[str]: """ - The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. + The rule set version. Possible values are `1.0`, `1.1` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`. """ return pulumi.get(self, "version") @@ -555,7 +555,7 @@ def __init__(__self__, *, rule_group_overrides: Optional[Sequence['outputs.PolicyManagedRulesManagedRuleSetRuleGroupOverride']] = None, type: Optional[str] = None): """ - :param str version: The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + :param str version: The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. :param Sequence['PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs'] rule_group_overrides: One or more `rule_group_override` block defined below. :param str type: The rule set type. Possible values: `Microsoft_BotManagerRuleSet`, `Microsoft_DefaultRuleSet` and `OWASP`. Defaults to `OWASP`. """ @@ -569,7 +569,7 @@ def __init__(__self__, *, @pulumi.getter def version(self) -> str: """ - The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. + The rule set version. Possible values: `0.1`, `1.0`, `1.1`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`. """ return pulumi.get(self, "version") diff --git a/upstream b/upstream index 7d5c0779bc..391b16585e 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 7d5c0779bce9b783e8a7e3ac67f1621c6d757972 +Subproject commit 391b16585e8d190054563615f7e96a01e03bb18e